Skip to content

Commit 3bacfab

Browse files
committed
fix nix
1 parent 12f994d commit 3bacfab

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ jobs:
2626
run: make test
2727

2828
nix-tests:
29-
name: NixOS tests
3029
runs-on: ubuntu-latest
31-
container:
32-
image: nixos/nix:latest
3330
steps:
3431
- uses: actions/checkout@v4
35-
- name: Run tests in Nix shell
36-
run: nix develop --command python -m unittest discover -v
32+
- uses: cachix/install-nix-action@v27
33+
with:
34+
nix_path: nixpkgs=channel:nixos-24.05
35+
extra_nix_config: |
36+
experimental-features = nix-command flakes
37+
- name: Run tests via Nix
38+
run: nix develop --command make test

0 commit comments

Comments
 (0)