Skip to content

Commit ebaf506

Browse files
authored
[CI] Do not run full tests when using unpacked shards (#325)
* [CI] Do not run full tests when using unpacked shards * Mark broken test on CI as such
1 parent 8d1eca1 commit ebaf506

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
release:
99

1010
env:
11-
BINARYBUILDER_FULL_SHARD_TEST: true
1211
BINARYBUILDER_AUTOMATIC_APPLE: true
1312

1413
jobs:
@@ -19,6 +18,9 @@ jobs:
1918
env:
2019
BINARYBUILDER_RUNNER: ${{ matrix.runner }}
2120
BINARYBUILDER_USE_SQUASHFS: ${{ matrix.squashfs }}
21+
# Run full tests only when we use the packed shards, because we constantly
22+
# run out of disk on the free GitHub-hosted runners.
23+
BINARYBUILDER_FULL_SHARD_TEST: ${{ matrix.squashfs }}
2224
strategy:
2325
fail-fast: false
2426
matrix:

test/runners.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,9 @@ end
443443
set -e
444444
make -j${nproc} -sC /usr/share/testsuite install
445445
"""
446-
@test run(ur, `/bin/bash -c "$(test_script)"`, iobuff; tee_stream=devnull)
446+
# This test fails on GitHub Actions with non-squashfs:
447+
# <https://github.com/JuliaPackaging/BinaryBuilderBase.jl/issues/347>.
448+
@test run(ur, `/bin/bash -c "$(test_script)"`, iobuff) broken=(get(ENV, "GITHUB_ACTIONS", "false")=="true" && !(BinaryBuilderBase.use_squashfs[]))
447449
end
448450
end
449451
end

0 commit comments

Comments
 (0)