Skip to content

Commit

Permalink
Install pytest-cov only in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarak committed Jun 27, 2024
1 parent 566c57c commit fffbe42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- name: Bootstrap reframe
run: ./bootstrap.sh
- name: Run tests and collect coverage
run: ./test_reframe.py --cov=reframe --cov-report=xml
run: |
pip install pytest-cov
./test_reframe.py --cov=reframe --cov-report=xml
- name: Upload coverage reports
uses: codecov/[email protected]
env:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jsonschema==3.2.0
lxml==5.2.0
pytest==7.0.1; python_version < '3.8'
pytest==8.1.1; python_version >= '3.8'
pytest-cov==5.0.0
pytest-forked==1.4.0; python_version == '3.6'
pytest-forked==1.6.0; python_version >= '3.7'
pytest-parallel==0.1.1
Expand Down

0 comments on commit fffbe42

Please sign in to comment.