File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Python Tests
22
3- on : [pull_request]
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
48
59jobs :
610 test :
@@ -28,12 +32,19 @@ jobs:
2832 - name : Install additional dependencies
2933 run : |
3034 conda install -y -c conda-forge -c bioconda mummer blast hmmer
31- pip install '.[tests]' # Install all dependencies, including test-specific ones
35+ python -m pip install --upgrade pip
36+ pip install '.[dev]' # Install all dependencies, including test-specific ones
3237 shell : bash -l {0}
3338
3439 # Run pytest on the specified directory
35- - name : Run tests
40+ - name : Test with pytest
3641 run : |
37- pytest tests
42+ pytest --cov=src/tirmite --cov-branch --cov-report=xml
3843 shell : bash -l {0}
39-
44+
45+ # Upload coverage report to Codecov
46+ - name : Upload coverage reports to Codecov
47+ uses : codecov/codecov-action@v5
48+ with :
49+ token : ${{ secrets.CODECOV_TOKEN }}
50+ slug : Adamtaranto/TIRmite
You can’t perform that action at this time.
0 commit comments