Skip to content

Commit 6e26360

Browse files
committed
github: split nixos tests to different jobs
This allows us to retry a single job when some flakyness is happening, instead of having to retry all jobs Signed-off-by: Stefan Kober <stefan.kober@cyberus-technology.de> On-behalf-of: SAP stefan.kober@sap.com
1 parent d1327ac commit 6e26360

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/qa.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: cachix/install-nix-action@v31
1010
- name: Nix Flake Checks
1111
run: nix flake check --all-systems
12-
nixos-tests:
12+
nixos-basic-test:
1313
runs-on: large_runner_16core_64gb
1414
steps:
1515
- uses: actions/checkout@v6
@@ -28,6 +28,22 @@ jobs:
2828
- name: Basic setup
2929
run: |
3030
nix run .#tests.x86_64-linux.openstack-default-setup.driver
31+
nixos-live-migration-test:
32+
runs-on: large_runner_16core_64gb
33+
steps:
34+
- uses: actions/checkout@v6
35+
- uses: cachix/install-nix-action@v31
36+
- uses: cachix/cachix-action@v17
37+
with:
38+
name: openstack-nix
39+
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
40+
- name: Build
41+
run: |
42+
set -euxo pipefail
43+
nix build --show-trace \
44+
--option max-jobs 1 \
45+
--option cores 4 \
46+
.#tests.x86_64-linux.openstack-live-migration.driver
3147
- name: Live migration
3248
run: |
3349
nix run .#tests.x86_64-linux.openstack-live-migration.driver

0 commit comments

Comments
 (0)