Skip to content

Commit

Permalink
Revert "chore(ci): consolidate envs"
Browse files Browse the repository at this point in the history
This reverts commit 0856baa.
  • Loading branch information
rholshausen committed Dec 20, 2024
1 parent 4e61c84 commit 7d7167b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 22 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-ffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ on:
# 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:
build:
runs-on: ${{ matrix.operating-system }}
Expand All @@ -26,6 +20,8 @@ jobs:
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
rust: [ stable ]
env:
pact_do_not_track: true
steps:
- uses: actions/checkout@v3
- run: rustc --version || true
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ on:
# 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:
build:
runs-on: ${{ matrix.operating-system }}
Expand All @@ -26,6 +20,8 @@ jobs:
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
rust: [ stable ]
env:
pact_do_not_track: true
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -41,9 +37,15 @@ jobs:
- name: Tests
run: cargo nextest run
working-directory: rust
env:
RUST_LOG: debug
RUST_BACKTRACE: 1
- name: Run mock_server_logs test
run: cargo nextest run -p pact_ffi returns_mock_server_logs -- --include-ignored
working-directory: rust
env:
RUST_LOG: debug
RUST_BACKTRACE: 1
- name: Clippy
if: runner.os == 'Linux'
run: cargo clippy
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/compatability-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ on:
# cancel-in-progress: false

env:
RUST_BACKTRACE: "1"
RUST_LOG: "debug"
PACT_DO_NOT_TRACK: "true"
CARGO_TERM_COLOR: always
pact_do_not_track: true

jobs:
compatibility-suite:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true

env:
RUST_BACKTRACE: "1"
RUST_LOG: "debug"
PACT_DO_NOT_TRACK: "true"
CARGO_TERM_COLOR: always

jobs:
build-release:
name: build-release (${{ matrix.targets }})
Expand All @@ -49,6 +43,9 @@ jobs:
targets: aarch64-apple-darwin
fail-fast: false

env:
pact_do_not_track: true

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 7d7167b

Please sign in to comment.