Skip to content

Commit ed3350b

Browse files
authored
pytest auto and codecov token
1 parent 06e52bf commit ed3350b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defaults:
1616
shell: bash -l {0}
1717

1818
env:
19-
CONDA_DEPS: "'MDAnalysis' MDAnalysisTests numpy scipy pytest pytest-cov codecov"
19+
CONDA_DEPS: "'MDAnalysis' MDAnalysisTests numpy scipy pytest pytest-xdist pytest-cov codecov"
2020

2121
jobs:
2222
tests:
@@ -60,11 +60,12 @@ jobs:
6060
6161
- name: run_tests
6262
run: |
63-
pytest -v --cov=MDRestraintsGenerator --cov-report=xml MDRestraintsGenerator/tests/
63+
pytest -n auto -v --cov=MDRestraintsGenerator --cov-report=xml MDRestraintsGenerator/tests/
6464
6565
- name: codecov
6666
uses: codecov/codecov-action@v5
6767
with:
6868
file: coverage.xml
69+
token: ${{ secrets.CODECOV_TOKEN }}
6970
fail_ci_if_error: True
7071
verbose: True

0 commit comments

Comments
 (0)