Skip to content

Commit 26d67d6

Browse files
committed
Do not run coveralls for non-development branches
It fails with 422 Unprocessable Entity
1 parent feedb2d commit 26d67d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
run: |
8787
set -euo pipefail
8888
coveralls
89+
if: github.ref == 'refs/heads/devel' || github.event.pull_request.base.ref == 'devel'
8990
env:
9091
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9192
COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}
@@ -104,5 +105,6 @@ jobs:
104105
set -euo pipefail
105106
pip install coveralls
106107
coveralls --finish
108+
if: github.ref == 'refs/heads/devel' || github.event.pull_request.base.ref == 'devel'
107109
env:
108110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)