Skip to content

Commit 546e774

Browse files
committed
add tests to Nix Flake GitHub Action
1 parent 47d9bc5 commit 546e774

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nix-flake.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
- name: "Check `nix develop` shell"
3535
run: nix develop --check
3636
- name: "Check `nix develop` shell can run command"
37-
run: nix develop --command "echo"
37+
run: nix develop --command echo
3838
- run: nix build
3939
- run: nix flake check
40+
- name: "Run all Haskell tests in the `nix develop` shell"
41+
run: nix develop --command cabal test
42+
- name: "Run all PureScript tests in the `nix develop` shell"
43+
run: nix develop --command spago test

0 commit comments

Comments
 (0)