-
-
Notifications
You must be signed in to change notification settings - Fork 343
31 lines (31 loc) · 834 Bytes
/
test.yml
File metadata and controls
31 lines (31 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Test"
on:
pull_request:
merge_group:
push:
branches:
- master
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- system: x86_64-linux
runner: ubuntu-latest
- system: aarch64-linux
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
extra-systems = ${{ matrix.system }}
- uses: cachix/cachix-action@v17
with:
name: hydra-test-cache
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build -A checks.${{ matrix.system }}.systemTests -A checks.${{ matrix.system }}.validate-openapi -A checks.${{ matrix.system }}.formatter