-
Notifications
You must be signed in to change notification settings - Fork 46
44 lines (40 loc) · 1.09 KB
/
compatability-suite.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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: false
env:
RUST_BACKTRACE: "1"
RUST_LOG: "debug"
PACT_DO_NOT_TRACK: "true"
CARGO_TERM_COLOR: always
jobs:
compatibility-suite:
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
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
rust
compatibility-suite
shared-key: ${{ runner.os }}
- name: Run Cucumber
# Note: cucumber's test executables are incompatible with nextest
# See: https://github.com/nextest-rs/nextest/issues/1329
run: cargo test
working-directory: compatibility-suite