Skip to content

Commit

Permalink
Maintenance: code coverage only on master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmindset committed Aug 3, 2022
1 parent c6b9bd5 commit 7e6a294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/insolver-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
shell: bash
run: |
python -m pytest --cov=./ --cov-report=xml
- name: Code coverage with codecov on ubuntu-latest and Python 3.8
- name: Code coverage with codecov on (ubuntu-latest & Python 3.8 & master)
if: |
(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8')
(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' && github.ref == 'refs/heads/master')
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down

0 comments on commit 7e6a294

Please sign in to comment.