Skip to content

Commit

Permalink
Fix docker tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gligneul committed Nov 22, 2024
1 parent e1a5a89 commit 937a5f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .ci/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ else
cargo build --locked
fi

UNAME=$(uname -s)
if [ "$UNAME" == "Darwin" ]; then
# Disable docker tests on MacOS CI
cargo test --no-default-features
else
cargo test
cargo test

if [ "$(uname -s)" != "Darwin" ]; then
# The MacOS CI doesn't support Docker because of licensing issues, so only run them on Linux.
# Also, run the docker tests on a single thread to avoid concurrency issues.
cargo test -F docker-test -- --test-threads 1 docker
fi
1 change: 0 additions & 1 deletion main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ version.workspace = true
repository.workspace = true

[features]
default = ["docker-test"]
docker-test = []
nightly = []

Expand Down

0 comments on commit 937a5f7

Please sign in to comment.