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
6 changes: 5 additions & 1 deletion .github/workflows/ci-default-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ jobs:
name: Default features
# A pull request from a fork cannot obtain a Ubicloud runner, so the fork
# arm falls back to a GitHub-hosted one, as in `ci.yml`'s `build-test`.
# Dependabot pull requests run on the hosted pool too (free on a public
# repository). The author is tested, not the actor, which changes when
# someone else pushes to the branch.
runs-on: >-
${{ github.event.pull_request.head.repo.fork
${{ (github.event.pull_request.head.repo.fork
|| github.event.pull_request.user.login == 'dependabot[bot]')
&& 'ubuntu-latest' || 'ubicloud-standard-4-ubuntu-2404' }}
# A cold build of both feature sets' worth of targets, rustdoc, Clippy, and
# the full suite: measured well under this ceiling, which exists so a hung
Expand Down
1 change: 1 addition & 0 deletions tests/workflow_contracts/fork_fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def owned_runner(declaration: object) -> str:
FORK_FALLBACK_RUNNERS: typ.Final[dict[str, str]] = {
"ci.build-test": FORK_FALLBACK_RUNNER,
"ci.kani-smoke": FORK_FALLBACK_RUNNER,
"ci-default-features.default-features": FORK_FALLBACK_RUNNER,
"netsukefile-test.netsukefile": "ubuntu-22.04",
}

Expand Down
1 change: 1 addition & 0 deletions tests/workflow_contracts/runner_placement_invariants.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"ci-windows.build-test-windows": "windows-latest",
"ci-windows.windows-msi-upgrade": "windows-latest",
"ci.kani-smoke": UBICLOUD_DEFAULT_LABEL,
"ci-default-features.default-features": UBICLOUD_LARGE_LABEL,
"coverage-main.coverage-upload": UBICLOUD_LARGE_LABEL,
"delayed-pr-comment.delay_and_comment": "ubuntu-latest",
"netsukefile-test.netsukefile": UBICLOUD_COMPAT_LABEL,
Expand Down
5 changes: 5 additions & 0 deletions tests/workflow_contracts/runner_placement_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
("ci-windows.build-test-windows", "ci-windows.yml", "build-test-windows"),
("ci-windows.windows-msi-upgrade", "ci-windows.yml", "windows-msi-upgrade"),
("ci.kani-smoke", "ci.yml", "kani-smoke"),
(
"ci-default-features.default-features",
"ci-default-features.yml",
"default-features",
),
("coverage-main.coverage-upload", "coverage-main.yml", "coverage-upload"),
(
"delayed-pr-comment.delay_and_comment",
Expand Down
Loading