Skip to content

Commit

Permalink
ci: add Nix Flake test
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBeucher committed Aug 2, 2024
1 parent f308991 commit d725a1f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,18 @@ jobs:
run: test/shell/test-install.sh

- name: Test cloudypad.sh script
run: test/shell/test-cloudypad.sh
run: test/shell/test-cloudypad.sh

test-flake-package:
name: Test Flake package
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: nixbuild/nix-quick-install-action@v27

- run: nix build .#

- run: CLOUDYPAD_CONTAINER_NO_TTY=true nix run .# -- --version
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ tmp/
.pnpm-store
pulumi/aws/Pulumi.*.yaml
**/node_modules
**/dist
**/dist
result

0 comments on commit d725a1f

Please sign in to comment.