Skip to content

Commit

Permalink
chore: Run CI on ubuntu-latest runner (#1949)
Browse files Browse the repository at this point in the history
* Update test.yml

* remove single thread

* chore: remove `RUST_TEST_THREADS` from flake.nix

---------

Co-authored-by: TomAFrench <tom@tomfren.ch>
  • Loading branch information
kevaundray and TomAFrench authored Jul 17, 2023
1 parent 347cfc4 commit 2cb177a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
include:
- os: ubuntu
runner: ubuntu-large
runner: ubuntu-latest
target: x86_64-linux

steps:
Expand Down
9 changes: 1 addition & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,7 @@
BARRETENBERG_BIN_DIR = "${pkgs.barretenberg-wasm}/bin";
};

testEnvironment = sharedEnvironment // {
# Barretenberg fails if tests are run on multiple threads, so we set the test thread
# count to 1 throughout the entire project
#
# Note: Setting this allows for consistent behavior across build and shells, but is mostly
# hidden from the developer - i.e. when they see the command being run via `nix flake check`
RUST_TEST_THREADS = "1";
};
testEnvironment = sharedEnvironment // {};

# The `self.rev` property is only available when the working tree is not dirty
GIT_COMMIT = if (self ? rev) then self.rev else "unknown";
Expand Down

0 comments on commit 2cb177a

Please sign in to comment.