diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-03-10 19:07:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-10 19:07:23 +0000 |
| commit | c97f2375ad6bd52905308ca22249a6cab97c6bc0 (patch) | |
| tree | 0c4f71ba6074b3cd3a9bc785e999e879169548e2 /.github | |
| parent | feat: adds info command to show env vars and config files (#1841) (diff) | |
| download | atuin-c97f2375ad6bd52905308ca22249a6cab97c6bc0.zip | |
chore(ci): setup nextest (#1848)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e6e8573a..a26e2e85 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -95,6 +95,12 @@ jobs: with: toolchain: stable + - uses: taiki-e/install-action@v2 + name: Install nextest + with: + tool: cargo-nextest + + - uses: actions/cache@v3 with: path: | @@ -104,7 +110,7 @@ jobs: key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test - run: cargo test --lib --bins + run: cargo nextest run --lib --bins check: strategy: @@ -164,6 +170,12 @@ jobs: with: toolchain: stable + - uses: taiki-e/install-action@v2 + name: Install nextest + with: + tool: cargo-nextest + + - uses: actions/cache@v3 with: path: | @@ -173,7 +185,7 @@ jobs: key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }} - name: Run cargo test - run: cargo test --test '*' + run: cargo nextest run --test '*' env: ATUIN_DB_URI: postgres://atuin:pass@localhost:5432/atuin |
