Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ jobs:
# Skip caching on self-hosted runners: demeter has a persistent, already
# warm depot (20-29GB), so the cache always MISSES and the post-job save
# tar-uploads 20-29GB at ~7MB/s (+30-62 min/job). Only useful on
# GitHub-hosted/ephemeral runners (empty `runner` and not `self-hosted`).
if: "${{ inputs.cache && inputs.runner == '' && !inputs.self-hosted }}"
# GitHub-hosted/ephemeral runners. `inputs.runner` is also populated for
# ordinary grouped-test legs, so it cannot identify the allocated runner.
if: "${{ inputs.cache && runner.environment == 'github-hosted' }}"
with:
token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ end
@test occursin("dpkg --add-architecture i386", txt)
@test occursin("inputs.julia-arch == 'x86'", txt)
@test occursin("runner.os == 'Linux'", txt)
@test occursin("runner.environment == 'github-hosted'", txt)
# Order: the i386 install must come before the setup-julia invocation.
i386_at = findfirst("libc6:i386", txt)
setup_at = findfirst("julia-actions/setup-julia", txt)
Expand Down
Loading