Skip to content

Commit

Permalink
Don't run tests when building the Nix package
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Jan 13, 2024
1 parent 39a1474 commit 472d3e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
git diff-index --quiet HEAD --
- name: Test
run: |
nix develop -c go test ./... -v
nix develop -c go test -tags sqlite_foreign_keys -v ./...
- name: Build
run: |
nix build --print-build-logs
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
vendorHash = "sha256-cE8L7vuf3msMplL6BfQ4gt1rELMIFswDu9mfSXJ9VAs=";

tags = ["sqlite_foreign_keys"];

doCheck = false;
};
};
devShell = with pkgs; mkShell {
Expand Down

0 comments on commit 472d3e6

Please sign in to comment.