Skip to content

Commit

Permalink
Change coverage to run only on latest python
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwebbie committed Mar 28, 2024
1 parent 2ec5359 commit d1d9f92
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
cache-dependency-path: '**/setup.py'
- name: Install requirements
run: |
python -m pip install --upgrade pip coverage-lcov
python -m pip install --upgrade pip
pip install -e . -r requirements/test.txt
pip install coverage-lcov
- name: Run tests with coverage
run: |
pytest --cov=. --cov-report=term --cov-report=xml:coverage.xml --color=yes && coverage-lcov
Expand Down Expand Up @@ -56,11 +57,11 @@ jobs:
cache-dependency-path: '**/setup.py'
- name: Install requirements
run: |
python -m pip install --upgrade pip coverage-lcov
python -m pip install --upgrade pip
pip install -e . -r requirements/test.txt
- name: Run tests with coverage
run: |
pytest --cov=. --cov-report=term --cov-report=xml:coverage.xml --color=yes && coverage-lcov
pytest --color=yes
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand All @@ -86,11 +87,11 @@ jobs:
cache-dependency-path: '**/setup.py'
- name: Install requirements
run: |
python -m pip install --upgrade pip coverage-lcov
python -m pip install --upgrade pip
pip install -e . -r requirements/test.txt
- name: Run tests with coverage
- name: Run tests
run: |
pytest --cov=. --cov-report=term --cov-report=xml:coverage.xml --color=yes && coverage-lcov
pytest --color=yes
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit d1d9f92

Please sign in to comment.