-
Notifications
You must be signed in to change notification settings - Fork 7
47 lines (41 loc) · 978 Bytes
/
smoke-test.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Smoke test
on:
push:
paths:
- 'flake.lock'
- 'pkgs/**'
- 'modules/**'
- 'test/**'
- '.github/workflows/smoke-test.yml'
workflow_dispatch:
workflow_call:
schedule:
- cron: '0 9 * * 2'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
accept-flake-config = true
- name: Update the flake inputs for the test
run: |
nix develop -c just local-update-flake
working-directory: test
- name: Test
working-directory: test
run: |
nix develop -c just test
nix develop -c just local-lock-2
- run: nix flake show