Skip to content

Commit c1ba15d

Browse files
committed
Actions: Add a switch to ignore coveralls upload failures
Coveralls is down this morning: https://status.coveralls.io/ ``` Update - Outage will be extended for at least several more hours. To avoid further disruption to your CI workflows, we recommend employing the fail-on-error: false input option available with all official coveralls integrations. See: https://docs.coveralls.io/integrations#official-integrations. Feb 24, 2026 - 19:28 PST ``` This changes adds a switch to enable/disable coveralls failures. This should be set back to TRUE when coveralls is working again.
1 parent 9c1c7d9 commit c1ba15d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
- main
1111
- develop
1212

13+
# Coveralls coverage reporting toggle.
14+
# Set to true when coveralls is healthy; false during outages.
15+
# Check status: https://status.coveralls.io/
16+
env:
17+
COVERALLS_FAIL_ON_ERROR: false
18+
1319
jobs:
1420
# Only PRs to main run on all OSes. Everything else (PRs to
1521
# develop, pushes) runs on Ubuntu only for faster feedback.
@@ -270,6 +276,7 @@ jobs:
270276
flag-name: conda-${{ runner.os }}-py${{ matrix.python-version }}
271277
parallel: true
272278
path-to-lcov: ./coverage.lcov
279+
fail-on-error: ${{ env.COVERALLS_FAIL_ON_ERROR }}
273280

274281
conda-forge-build:
275282
name: conda-forge-${{ matrix.os }}/${{ matrix.python-version }}
@@ -334,6 +341,7 @@ jobs:
334341
flag-name: conda-forge-${{ runner.os }}-py${{ matrix.python-version }}
335342
parallel: true
336343
path-to-lcov: ./coverage.lcov
344+
fail-on-error: ${{ env.COVERALLS_FAIL_ON_ERROR }}
337345

338346
pip-build:
339347
name: pip-${{ matrix.os }}/${{ matrix.python-version }}
@@ -391,6 +399,7 @@ jobs:
391399
flag-name: pip-${{ runner.os }}-py${{ matrix.python-version }}
392400
parallel: true
393401
path-to-lcov: ./coverage.lcov
402+
fail-on-error: ${{ env.COVERALLS_FAIL_ON_ERROR }}
394403

395404
hindcast-calls:
396405
name: hindcast-${{ matrix.os }}/${{ matrix.python-version }}
@@ -475,6 +484,7 @@ jobs:
475484
flag-name: hindcast-${{ runner.os }}-py${{ matrix.python-version }}
476485
parallel: true
477486
path-to-lcov: ./coverage.lcov
487+
fail-on-error: ${{ env.COVERALLS_FAIL_ON_ERROR }}
478488

479489
test-wheel-packaging:
480490
name: Test Built Wheel

0 commit comments

Comments
 (0)