File tree 10 files changed +41
-59
lines changed
10 files changed +41
-59
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
+ source =q2_moshpit
2
3
branch = True
3
4
omit =
4
5
*/tests*
7
8
versioneer.py
8
9
9
10
[report]
11
+ fail_under = 90
10
12
omit =
11
13
*/tests*
12
14
*/__init__.py
Original file line number Diff line number Diff line change 29
29
pip install -q flake8
30
30
flake8
31
31
32
- build-and-test :
32
+ coverage :
33
33
needs : lint
34
+ runs-on : ubuntu-latest
35
+ defaults :
36
+ run :
37
+ shell : bash -l {0}
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ - uses : conda-incubator/setup-miniconda@v2
41
+ with :
42
+ activate-environment : q2-shotgun-test
43
+ mamba-version : " *"
44
+ channels : conda-forge
45
+ - name : Run tests with coverage
46
+ run : |
47
+ mamba install -c https://packages.qiime2.org/qiime2/2022.4/tested -c conda-forge -c bioconda -c defaults -y --file requirements.txt
48
+ make dev
49
+ qiime dev refresh-cache
50
+ make test-cov
51
+ - name : Upload coverage to Codecov
52
+ uses : codecov/codecov-action@v2
53
+ with :
54
+ fail_ci_if_error : true
55
+
56
+ build-and-test :
57
+ needs : coverage
34
58
strategy :
35
59
matrix :
36
60
os : [ubuntu-latest, macos-latest]
46
70
with :
47
71
package-name : q2-moshpit
48
72
additional-tests : pytest --pyargs q2_moshpit
49
- # TODO: update this to `release` when tagging release
50
- build-target : staged
73
+ build-target : dev
51
74
library-token : ${{ secrets.LIBRARY_TOKEN }}
Original file line number Diff line number Diff line change 1
1
BSD 3-Clause License
2
2
3
- Copyright (c) 2021 , QIIME 2 development team.
3
+ Copyright (c) 2022 , QIIME 2 development team.
4
4
All rights reserved.
5
5
6
6
Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ test: all
12
12
py.test
13
13
14
14
test-cov : all
15
- py.test --cov=q2_fondue
15
+ coverage run -m pytest
16
+ coverage xml
16
17
17
18
install : all
18
19
$(PYTHON ) setup.py install
19
20
20
21
dev : all
22
+ pip install coverage
21
23
pip install -e .
22
24
23
25
clean : distclean
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ requirements:
19
19
20
20
run :
21
21
- qiime2 {{ release }}.*
22
+ - q2-types-genomics {{ release }}.*
23
+ - q2templates {{ release }}.*
22
24
23
25
test :
24
26
imports :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# ----------------------------------------------------------------------------
2
- # Copyright (c) 2021 , QIIME 2 development team.
2
+ # Copyright (c) 2022 , QIIME 2 development team.
3
3
#
4
4
# Distributed under the terms of the Modified BSD License.
5
5
#
Original file line number Diff line number Diff line change 1
1
# ----------------------------------------------------------------------------
2
- # Copyright (c) 2021 , QIIME 2 development team.
2
+ # Copyright (c) 2022 , QIIME 2 development team.
3
3
#
4
4
# Distributed under the terms of the Modified BSD License.
5
5
#
Original file line number Diff line number Diff line change
1
+ q2-types
2
+ q2-types-genomics
3
+ q2cli
4
+ q2templates
Original file line number Diff line number Diff line change 1
1
# ----------------------------------------------------------------------------
2
- # Copyright (c) 2021 , QIIME 2 development team.
2
+ # Copyright (c) 2022 , QIIME 2 development team.
3
3
#
4
4
# Distributed under the terms of the Modified BSD License.
5
5
#
You can’t perform that action at this time.
0 commit comments