Skip to content

Commit

Permalink
Test CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jun 27, 2024
1 parent 3fdfcfd commit 7d5eebd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ jobs:
# ./bin/${{ matrix.devShell }} -c ghc --version
# ./bin/${{ matrix.devShell }} -c cabal --version
# - run: nix flake show
- run: nix flake check
- name: Compile code
run: nix build .#test
timeout-minutes: 10
# - name: Compile test
# run: nix run .#test
- name: Run tests
run: nix run .#test
# timeout-minutes: 5
# - name: Update package index
# run: ./bin/${{ matrix.devShell }} -c cabal update
Expand Down
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
};
packages = {
default = flake.packages."hapistrano:exe:hap";
test = flake.packages."hapistrano:test:test";
test = flake.packages."hapistrano:test:test".overrideAttrs (prev: {
buildInputs = prev.buildInputs ++ [ pkgs.zsh ];
});
};
});
}
Expand Down

0 comments on commit 7d5eebd

Please sign in to comment.