diff --git a/.github/workflows/compatability-suite.yml b/.github/workflows/compatability-suite.yml index e11c30e2..288fe5c3 100644 --- a/.github/workflows/compatability-suite.yml +++ b/.github/workflows/compatability-suite.yml @@ -16,20 +16,51 @@ env: pact_do_not_track: true jobs: - compatibility-suite: + v1: 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 + - 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 ] steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable - - uses: taiki-e/install-action@v2 - with: - tool: cargo-nextest - name: Run Cucumber - # Note: cucumber's test executables are incompatible with nextest - # See: https://github.com/nextest-rs/nextest/issues/1329 - run: cargo test + run: cargo test --test v4* working-directory: compatibility-suite