Skip to content

Commit

Permalink
chore: combine compatibility suite tests
Browse files Browse the repository at this point in the history
The building of dependencies takes a lot of time, providing no benefit
to splitting the CI in each version. Instead, combine them all and use
nextest to speed up tests.

Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Dec 11, 2024
1 parent 7ff83a7 commit 0ec469f
Showing 1 changed file with 5 additions and 38 deletions.
43 changes: 5 additions & 38 deletions .github/workflows/compatability-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,46 +21,13 @@ jobs:
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Run Cucumber
run: cargo test --test v1*
working-directory: compatibility-suite
v2:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Run Cucumber
run: cargo test --test v2*
working-directory: compatibility-suite
v3:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Run Cucumber
run: cargo test --test v3*
working-directory: compatibility-suite
v4:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
operating-system: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- name: Run Cucumber
run: cargo test --test v4*
run: cargo nextest run
working-directory: compatibility-suite

0 comments on commit 0ec469f

Please sign in to comment.