Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Nov 26, 2023
1 parent 4b5c3be commit 5dd2d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: nix develop --command cargo clippy --all-targets

- name: Test
run: nix build -L --no-sandbox .#test
run: nix develop --command cargo test

build:
name: Build
Expand Down
14 changes: 1 addition & 13 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,7 @@
};

packages =
{
test = naersk'.buildPackage {
mode = "test";
src = ./.;

nativeBuildInputs = nativeBuildInputs;
buildInputs = buildInputs;

# Ensure detailed test output appears in nix build log
cargoTestOptions = x: x ++ ["1>&2"];
};
}
// import ./agent {inherit pkgs naersk' version gitRevision nativeBuildInputs buildInputs;}
import ./agent {inherit pkgs naersk' version gitRevision nativeBuildInputs buildInputs;}
// import ./archiver {inherit pkgs naersk' version gitRevision nativeBuildInputs buildInputs;}
// import ./ctl {inherit pkgs naersk' version gitRevision nativeBuildInputs buildInputs;}
// import ./event-processor {inherit pkgs naersk' version gitRevision nativeBuildInputs buildInputs;};
Expand Down

0 comments on commit 5dd2d5f

Please sign in to comment.