Skip to content

Commit

Permalink
Unpinning CI dependencies (MDAnalysis#3503)
Browse files Browse the repository at this point in the history
* unpin coverage and pytest-cov in CI
  • Loading branch information
IAlibay authored Jun 13, 2022
1 parent b302e40 commit ec5da1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ omit =
*/MDAnalysis/tests/*
*/legacy/*
*/due.py
concurrency = thread, multiprocessing

[report]
exclude_lines =
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-deps/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ inputs:
default: 'tidynamics>=1.0.0'
# pip-installed min dependencies
coverage:
default: 'coverage<5'
default: 'coverage'
pytest-cov:
default: 'pytest-cov==2.10.1'
default: 'pytest-cov'
pytest-xdist:
default: 'pytest-xdist'
# pip-install optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
run: |
PYTEST_FLAGS="--disable-pytest-warnings --durations=50"
if [ ${{ matrix.codecov }} = "true" ]; then
PYTEST_FLAGS="${PYTEST_FLAGS} --cov=MDAnalysis --cov-report=xml"
PYTEST_FLAGS="${PYTEST_FLAGS} --cov-config=.coveragerc --cov=MDAnalysis --cov-report=xml"
fi
echo $PYTEST_FLAGS
pytest -n $numprocs testsuite/MDAnalysisTests $PYTEST_FLAGS
Expand Down

0 comments on commit ec5da1d

Please sign in to comment.