Skip to content

chore: reduce ci usage #1140

chore: reduce ci usage

chore: reduce ci usage #1140

name: Pact-Rust Compatibility Suite
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
pact_do_not_track: true
jobs:
v1:
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 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
- name: Run Cucumber
run: cargo test --test v4*
working-directory: compatibility-suite