File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ pre-commit :
11
+ name : Lint
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-python@v5
16
+ with :
17
+ python-version : ' 3.11'
18
+ -
uses :
pre-commit/[email protected]
19
+ test :
20
+ name : Test
21
+ runs-on : ubuntu-latest
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - name : Set up Python ${{ matrix.python-version }}
26
+ uses : actions/setup-python@v5
27
+ with :
28
+ python-version : ' 3.11'
29
+ - name : Install dependencies
30
+ run : |
31
+ python -m pip install --upgrade pip
32
+ python -m pip install '.[dev]'
33
+
34
+ - name : Run tests
35
+ run : |
36
+ pytest --cov=sc2ts
37
+ # - name: Upload coverage to Coveralls
38
+ # uses: coverallsapp/[email protected]
39
+ # with:
40
+ # github-token: ${{ secrets.GITHUB_TOKEN }}
41
+ # # The first coveralls upload will succeed and others seem to fail now.
42
+ # # This is a quick workaround for doing a proper "parallel" setup:
43
+ # # https://github.com/coverallsapp/github-action
44
+ # fail-on-error: false
Original file line number Diff line number Diff line change @@ -6,5 +6,24 @@ requires = [
6
6
]
7
7
build-backend = " setuptools.build_meta"
8
8
9
+ [project ]
10
+ name = " sc2ts"
11
+ description = " Infer ARGs in tskit format for SARS-Cov2"
12
+ readme = " README.md"
13
+ license = {file = " LICENSE" }
14
+ authors = [
15
+ {name = " FIXME" , email = " FIXME" },
16
+ ]
17
+ dependencies = [
18
+ " tsinfer" ,
19
+ " pyfaidx" ,
20
+ ]
21
+
22
+ [project .optional-dependencies ]
23
+ dev = [
24
+ " pytest" ,
25
+ " pytest-coverage" ,
26
+ ]
27
+
9
28
[tool .setuptools_scm ]
10
29
write_to = " sc2ts/_version.py"
You can’t perform that action at this time.
0 commit comments