Skip to content

Commit

Permalink
nextest archives
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Jan 17, 2025
1 parent 35882bb commit 8c9a955
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/rust-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,51 @@ jobs:
path: ./target/nextest/*.tar.zst
overwrite: true

tests-parallel:
name: Run Tests (Parallel)
runs-on: ubuntu-20.04
needs: prepare-tests
steps:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- uses: pnpm/action-setup@v4
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Install Package Dependencies
run: make install
- name: Download Nextest Archives
uses: actions/download-artifact@v4
with:
name: nextest-archive.tar.zst
path: .
- name: Run Tests
run: cargo nextest run --archive-file nextest-archive.tar.zst --retries 2

tests-serial:
name: Run Tests (Serial)
runs-on: ubuntu-20.04
needs: prepare-tests
steps:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- uses: pnpm/action-setup@v4
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Install Package Dependencies
run: make install
- name: Download Nextest Archives
uses: actions/download-artifact@v4
with:
name: nextest-archive-serial.tar.zst
path: .
- name: Run Tests
run: cargo nextest run --archive-file nextest-archive-serial.tar.zst --retries 2


# - name: Run Unit Tests
# run: make test

Expand Down

0 comments on commit 8c9a955

Please sign in to comment.