mirror of
https://github.com/NixOS/nix
synced 2025-07-03 14:31:46 +02:00
Add merge queue config
This commit is contained in:
parent
856afa27c2
commit
d9f742302e
1 changed files with 22 additions and 3 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
||||||
- detsys-main
|
- detsys-main
|
||||||
- main
|
- main
|
||||||
- master
|
- master
|
||||||
|
merge_group:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: "write"
|
id-token: "write"
|
||||||
|
@ -68,8 +69,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
|
|
||||||
# Build hydraJobs.tests.*.
|
vm_tests_smoke:
|
||||||
vm_tests:
|
needs: build_x86_64-linux
|
||||||
|
runs-on: UbuntuLatest32Cores128G
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
flakehub: true
|
||||||
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
|
- run: |
|
||||||
|
nix build -L \
|
||||||
|
.#hydraJobs.tests.functional_user \
|
||||||
|
.#hydraJobs.tests.githubFlakes \
|
||||||
|
.#hydraJobs.tests.nix-docker \
|
||||||
|
.#hydraJobs.tests.tarballFlakes \
|
||||||
|
;
|
||||||
|
|
||||||
|
vm_tests_all:
|
||||||
|
if: github.event_name == 'merge_group'
|
||||||
needs: build_x86_64-linux
|
needs: build_x86_64-linux
|
||||||
runs-on: UbuntuLatest32Cores128G
|
runs-on: UbuntuLatest32Cores128G
|
||||||
steps:
|
steps:
|
||||||
|
@ -85,7 +103,8 @@ jobs:
|
||||||
.hydraJobs.tests
|
.hydraJobs.tests
|
||||||
| with_entries(select(.value.type == "derivation"))
|
| with_entries(select(.value.type == "derivation"))
|
||||||
| keys[]
|
| keys[]
|
||||||
| ".#hydraJobs.tests." + .')
|
| ".#hydraJobs.tests." + .'
|
||||||
|
| head -n5) # FIXME: for testing the merge queue
|
||||||
|
|
||||||
flake_regressions:
|
flake_regressions:
|
||||||
needs: build_x86_64-linux
|
needs: build_x86_64-linux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue