Skip to content

Commit

Permalink
Give cargo-nextest a try.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Aug 23, 2022
1 parent f801481 commit be2f5c1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,23 @@ jobs:
override: true
components: rustfmt, clippy

- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build --verbose --workspace

- name: Run tests
run: cargo +stable test --features mmap,brotli-compression,lz4-compression,snappy-compression,zstd-compression,failpoints --verbose --workspace
run: cargo +stable nextest run --features mmap,brotli-compression,lz4-compression,snappy-compression,zstd-compression,failpoints --verbose --workspace

- name: Run doctests
run: cargo +stable test --doc --features mmap,brotli-compression,lz4-compression,snappy-compression,zstd-compression,failpoints --verbose --workspace

- name: Run tests quickwit feature
run: cargo +stable test --features mmap,quickwit,failpoints --verbose --workspace
run: cargo +stable nextest run --features mmap,quickwit,failpoints --verbose --workspace

- name: Run doctests quickwit feature
run: cargo +stable test --doc --features mmap,quickwit,failpoints --verbose --workspace

- name: Check Formatting
run: cargo +nightly fmt --all -- --check
Expand Down

0 comments on commit be2f5c1

Please sign in to comment.