Skip to content

Commit

Permalink
add filter for stream all messages test to nextest
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Dec 13, 2024
1 parent b582276 commit f7be8b6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
1 change: 1 addition & 0 deletions .cargo/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[profile.default]
retries = 3
default-filter = "not test(test_stream_all_messages_does_not_lose_messages)"
4 changes: 2 additions & 2 deletions .github/workflows/test-http-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: build tests
run: cargo nextest run --no-run --tests --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api
run: cargo nextest run --config-file ".cargo/nextest.toml" --no-run --tests --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api
- name: cargo test
run: cargo nextest run --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api --test-threads 2
run: cargo nextest run --config-file ".cargo/nextest.toml" --workspace --exclude xmtp_api_grpc --exclude xmtpv3 --exclude bindings_node --exclude bindings_wasm --features http-api --test-threads 2
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
outputs = inputs@{ flake-parts, fenix, crane, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
perSystem = { pkgs, lib, inputs', system, ... }:
perSystem = { pkgs, lib, system, ... }:
let
fenixPkgs = inputs'.fenix.packages;
androidTargets = [
"aarch64-linux-android"
"armv7-linux-androideabi"
Expand All @@ -36,7 +35,7 @@
rust-toolchain = with fenix.packages.${system}; combine [
stable.cargo
stable.rustc
(pkgs.lib.forEach
(lib.forEach
androidTargets
(target: targets."${target}".stable.rust-std))
targets.x86_64-unknown-linux-musl.stable.rust-std
Expand Down

0 comments on commit f7be8b6

Please sign in to comment.