Skip to content

Commit fd72c05

Browse files
committed
ci: build and run test suite in CI
Since our merge queue is finally working reliably [0], we should run the whole test suite as part of this repository. As long as we do not have a Nix binary cache, this is much slower than it should/could be, unfortunately. We again introduced a bug that we would have caught with these checks running in GitHubs (slow) CI [1]. [0] cyberus-technology#93 [1] cyberus-technology#89 Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
1 parent e448e6b commit fd72c05

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1212

1313
jobs:
14-
checks:
14+
build:
1515
name: Checks, Build, Lints
1616
runs-on: ubuntu-latest
1717
steps:
@@ -20,7 +20,7 @@ jobs:
2020
# We restore Nix evaluation and Nix tarball cache, speeding up the CI.
2121
# This does not cover any Nix artifacts from the Nix store.
2222
- name: Restore Nix cache
23-
uses: actions/cache@v4
23+
uses: actions/cache@v5
2424
with:
2525
path: ~/.cache/nix
2626
key: nix-cache-${{ github.job }}
@@ -46,10 +46,14 @@ jobs:
4646
run: |
4747
nix build -L .#checks.x86_64-linux.all
4848
# Run all other flake-wide checks
49-
# TODO add once we have quicker CI runners
50-
# This
51-
# nix flake check
49+
nix flake check
5250
- name: Eval Default Test Suite
5351
run: nix eval -L .#tests.x86_64-linux.default.driver
5452
- name: Eval Long-Running Test Suite
5553
run: nix eval -L .#tests.x86_64-linux.long_migration_with_load.driver
54+
- name: Build Default Test Suite
55+
run: nix build -L .#tests.x86_64-linux.default.driver
56+
- name: Build Long-Running Test Suite
57+
run: nix build -L .#tests.x86_64-linux.long_migration_with_load.driver
58+
- name: Run Default Test Suite
59+
run: nix run -L .#tests.x86_64-linux.default.driver

0 commit comments

Comments
 (0)