Run coveralls only when needed

This commit is contained in:
Matthias 2022-10-10 07:41:38 +00:00
parent 81ed80c594
commit d0b163764e
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ jobs:
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-22.04'
- name: Coveralls
if: (runner.os == 'Linux' && matrix.python-version == '3.9')
if: (runner.os == 'Linux' && matrix.python-version == '3.10' && matrix.os == 'ubuntu-22.04'
)
env:
# Coveralls token. Not used as secret due to github not providing secrets to forked repositories
COVERALLS_REPO_TOKEN: 6D1m0xupS3FgutfuGao8keFf9Hc0FpIXu