Skip to content

Commit ab5bfe8

Browse files
authored
chore: use nextest in CI (databendlabs#12955)
* ci: use nextest in CI * tweak unit tests, adapts to nextest * fmt code * hide nextest progress bar * make lint * Revert "fmt code" This reverts commit a23c507. * Revert "tweak unit tests, adapts to nextest" This reverts commit 732cf93. * serialize execution databend-meta * make lint
1 parent a5533ed commit ab5bfe8

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.config/nextest.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[test-groups]
2+
serial-integration = { max-threads = 1 }
3+
4+
5+
[[profile.default.overrides]]
6+
filter = 'package(databend-meta)'
7+
test-group = 'serial-integration'
8+

.github/actions/test_unit/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ runs:
1010
bypass_env_vars: RUSTFLAGS,RUSTDOCFLAGS,RUST_TEST_THREADS,RUST_LOG,RUST_BACKTRACE
1111

1212
- shell: bash
13-
run: cargo -Zgitoxide=fetch,shallow-index,shallow-deps test
13+
run: |
14+
cargo -Zgitoxide=fetch,shallow-index,shallow-deps nextest run --no-fail-fast --hide-progress-bar
1415
env:
1516
RUST_TEST_THREADS: "8"
1617
RUST_LOG: ERROR

0 commit comments

Comments
 (0)