Skip to content

Commit

Permalink
Fix closing Coveralls Logic around Hindcast (#324)
Browse files Browse the repository at this point in the history
* hindcast must all skip or succeed
  • Loading branch information
ssolson authored May 7, 2024
1 parent 74005b0 commit 696526a
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,32 @@ jobs:

coveralls:
name: Indicate completion to coveralls.io
needs: [conda-build, pip-build, hindcast-calls]
needs:
[
prepare-wave-hindcast-cache,
prepare-wind-hindcast-cache,
conda-build,
pip-build,
hindcast-calls,
]
if: |
always() &&
needs.conda-build.result == 'success' &&
needs.pip-build.result == 'success' &&
(needs.hindcast-calls.result == 'success' || needs.hindcast-calls.result == 'skipped')
(
(
needs.conda-build.result == 'success' &&
needs.pip-build.result == 'success' &&
needs.prepare-wave-hindcast-cache.result == 'skipped' &&
needs.prepare-wind-hindcast-cache.result == 'skipped' &&
needs.hindcast-calls.result == 'skipped'
) ||
(
needs.conda-build.result == 'success' &&
needs.pip-build.result == 'success' &&
needs.prepare-wave-hindcast-cache.result == 'success' &&
needs.prepare-wind-hindcast-cache.result == 'success' &&
needs.hindcast-calls.result == 'success'
)
)
runs-on: ubuntu-latest
container: python:3-slim
steps:
Expand Down

0 comments on commit 696526a

Please sign in to comment.