Skip to content

Commit abe1ce1

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/nix-flake.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ 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: |
42+
nix develop --command cabal update
43+
nix develop --command cabal test
44+
- name: "Run all PureScript tests in the `nix develop` shell"
45+
run: nix develop --command spago test

0 commit comments

Comments
 (0)