Skip to content

Commit

Permalink
Merge pull request #1884 from pybamm-team/switch-coverage
Browse files Browse the repository at this point in the history
switch coverage to python 3.7
  • Loading branch information
valentinsulzer committed Jan 5, 2022
2 parents fb6ebaa + 95ad5f7 commit c8a01ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: tox -e pybamm-requires

- name: Run unit tests for GNU/Linux with Python 3.7 and 3.8
if: matrix.os == 'ubuntu-latest' && matrix.python-version != 3.9
- name: Run unit tests for GNU/Linux with Python 3.8 and 3.9
if: matrix.os == 'ubuntu-latest' && matrix.python-version != 3.7
run: python -m tox -e unit

- name: Run unit tests for GNU/Linux with Python 3.9 and generate coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
- name: Run unit tests for GNU/Linux with Python 3.7 and generate coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
run: tox -e coverage

- name: Upload coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
uses: codecov/codecov-action@v2.1.0

- name: Run integration tests for GNU/Linux
Expand Down

0 comments on commit c8a01ba

Please sign in to comment.