Skip to content

Commit 9b792c3

Browse files
authored
Split NoThunks CI job in two to avoid hitting the GitHub Actions limit (#1200)
# Description This PR splits the `no-thunks-safe` test set jobs into two separate jobs, since they're currently timing out during the nightly runs. I haven't timed each of the test suites to ensure that each of the halves of this particular split run in less than 6 hours each, but if this continues to fail, we can shuffle them around a little bit. In future, if the NoThunks run is valuable, and we finally reach a point where the many small issues with our workflow pile up, we should use something more akin to `cardano-ledger`'s `workflow.yml` instead, but it's not worth making that change just for this.
2 parents c02b999 + ac2aff5 commit 9b792c3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,13 @@ jobs:
142142
if: matrix.test-set == 'all'
143143
run: cabal test all -j --test-show-details=streaming
144144

145-
- name: Test (NoThunks-safe tests only)
145+
- name: Test (NoThunks-safe tests only, part 1)
146146
if: matrix.test-set == 'no-thunks-safe'
147-
run: cabal test ouroboros-consensus:consensus-test ouroboros-consensus:doctest ouroboros-consensus:infra-test ouroboros-consensus:storage-test ouroboros-consensus-cardano:byron-test ouroboros-consensus-cardano:shelley-test ouroboros-consensus-diffusion:infra-test ouroboros-consensus-diffusion:mock-test ouroboros-consensus-protocol:protocol-test -j --test-show-details=streaming
147+
run: cabal test ouroboros-consensus:consensus-test ouroboros-consensus:doctest ouroboros-consensus:infra-test ouroboros-consensus:storage-test ouroboros-consensus-cardano:byron-test -j --test-show-details=streaming
148+
149+
- name: Test (NoThunks-safe tests only, part 2)
150+
if: matrix.test-set == 'no-thunks-safe'
151+
run: cabal test ouroboros-consensus-cardano:shelley-test ouroboros-consensus-diffusion:infra-test ouroboros-consensus-diffusion:mock-test ouroboros-consensus-protocol:protocol-test -j --test-show-details=streaming
148152

149153
- name: Create baseline-benchmark
150154
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)