File tree Expand file tree Collapse file tree 4 files changed +11
-642
lines changed Expand file tree Collapse file tree 4 files changed +11
-642
lines changed Original file line number Diff line number Diff line change 33
33
34
34
- name : Run tests
35
35
run : |
36
- pytest --cov=sc2ts
36
+ python -m pytest --cov=sc2ts tests/
37
37
# - name: Upload coverage to Coveralls
38
38
# uses: coverallsapp/[email protected]
39
39
# with:
@@ -64,27 +64,26 @@ jobs:
64
64
65
65
- name : Import alignments
66
66
run : |
67
- python3 -m sc2ts import-alignments testrun/alignments.db \
68
- testrun/data/alignments.fasta
69
- python3 -m sc2ts info-alignments testrun/alignments.db
67
+ sc2ts import-alignments testrun/alignments.db testrun/data/alignments.fasta
68
+ sc2ts info-alignments testrun/alignments.db
70
69
71
70
- name : Import metadata
72
71
run : |
73
- python3 -m sc2ts import-metadata testrun/data/metadata.tsv testrun/metadata.db
74
- python3 -m sc2ts info-metadata testrun/metadata.db
72
+ sc2ts import-metadata testrun/data/metadata.tsv testrun/metadata.db
73
+ sc2ts info-metadata testrun/metadata.db
75
74
76
75
- name : Run inference
77
76
run : |
78
- python3 -m sc2ts daily-extend -v testrun/alignments.db testrun/metadata.db \
77
+ sc2ts daily-extend -v testrun/alignments.db testrun/metadata.db \
79
78
testrun/ --min-group-size=2
80
79
81
80
- name : Validate
82
81
run : |
83
- python3 -m sc2ts validate -v testrun/alignments.db testrun/2020-02-13.ts
82
+ sc2ts validate -v testrun/alignments.db testrun/2020-02-13.ts
84
83
85
84
- name : MatchDB
86
85
run : |
87
- python3 -m sc2ts info-matches testrun/match.db
86
+ sc2ts info-matches testrun/match.db
88
87
89
88
packaging :
90
89
name : Packaging tests
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ dependencies = [
21
21
]
22
22
dynamic = [" version" ]
23
23
24
+ [project .scripts ]
25
+ sc2ts = " sc2ts.cli:cli"
26
+
24
27
[project .optional-dependencies ]
25
28
dev = [
26
29
" msprime" ,
Original file line number Diff line number Diff line change 6
6
from . alignments import *
7
7
from . metadata import *
8
8
from . inference import *
9
- # from . utils import *
10
- from . nextstrain import *
11
-
You can’t perform that action at this time.
0 commit comments