Skip to content

Commit 3bd1ead

Browse files
committed
fix: Use cargo test in CI
1 parent dadf239 commit 3bd1ead

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ jobs:
6565
- name: Build and Check Rust unit tests and integration tests all pass
6666
run: |
6767
git submodule update --init
68-
cargo install cargo-nextest
69-
make build
70-
make test
68+
cargo build --workspace
69+
cargo test
7170
7271
- name: Set up Python
7372
uses: actions/setup-python@v3
@@ -98,6 +97,5 @@ jobs:
9897
- name: Build and Check Rust unit tests and integration tests all pass on Windows
9998
run: |
10099
git submodule update --init
101-
cargo install cargo-nextest
102-
make build
103-
make test
100+
cargo build --workspace
101+
cargo test

harness/src/test_environment.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ pub fn get_test_environment(test_name: &str) -> TestEnvironment {
3131
.expect("Failed to remove previous logs directory");
3232
}
3333

34+
// Caution: Storing ip_counter in the tempdir result in different test binaries using duplicate loopback IP addresses,
35+
// so we store the ip_counter file in the harness/logs directory.
3436
get_test_environment_with_counter_file(test_name, COUNTER_FILE)
3537
}
3638

0 commit comments

Comments
 (0)