Skip to content

Commit

Permalink
refact: use nextest for ci testing
Browse files Browse the repository at this point in the history
Nextest is a next-gen blessed test-runner. For local testing, it's necessary to download the nextest binary from their official releases
  • Loading branch information
n-dusan committed Jan 24, 2024
1 parent be9303c commit 42823ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.STELAE_GITHUB_TOKEN }}

- name: Run tests
run: just test
- uses: taiki-e/install-action@v1
with:
tool: nextest
- name: Run tests (nextest)
run: just nextest

lints:
name: Lints
Expand Down
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ format:
# Run all tests
test:
cargo test
nextest:
cargo nextest run --all --no-fail-fast

# Run clippy maximum strictness. Passes through any flags to clippy.
clippy *FLAGS:
Expand All @@ -23,7 +25,7 @@ clippy *FLAGS:
-D warnings \

# Continuous integration - test, lint, benchmark
ci: lint test bench
ci: lint nextest bench

# Run all benchmarks
bench:
Expand Down

0 comments on commit 42823ac

Please sign in to comment.