Skip to content

Commit

Permalink
Adding venv to make better coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinse committed Apr 16, 2024
1 parent e5cedc4 commit 4e8f5ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
sudo apt install libgtk-3-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install .[dev]
python -m venv venv
venv/bin/python -m pip install --upgrade pip setuptools
venv/bin/python -m pip install -e .[dev]
- name: Test with pytest
run: |
pytest --cov=objdictgen --cov-report=xml --cov-branch -p no:logging --tb=no
venv/bin/pytest --cov=objdictgen --cov-report=xml --cov-branch -p no:logging --tb=no
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit 4e8f5ae

Please sign in to comment.