Skip to content

Commit

Permalink
Try skipping instead
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Didrichsen <[email protected]>
  • Loading branch information
gavindidrichsen committed Oct 23, 2024
1 parent ef6caa9 commit 4ca3489
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,25 @@ jobs:
ruby_version:
- "2.7"
- "3.2"
exclude:
- os: "windows-2019"
ruby_version: "3.2"
include:
- puppet_gem_version: "~> 7.0"
ruby_version: "2.7"
- puppet_gem_version: "~> 8.0"
ruby_version: "3.2"
name: "acceptance (ruby ${{ matrix.ruby_version }} | ${{ matrix.os }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
puppet_version: ${{ matrix.puppet_gem_version }}
rake_task: 'acceptance:local'
runs_on: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Check if job should be skipped
if: matrix.ruby_version == '3.2' && matrix.os == 'windows-2019'
run: echo "Skipping job for Ruby 3.2 on Windows 2019" && exit 0

- name: Run acceptance tests
uses: puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main
with:
ruby_version: ${{ matrix.ruby_version }}
puppet_version: ${{ matrix.puppet_gem_version }}
rake_task: 'acceptance:local'
secrets: inherit

on-failure-workflow-restarter-proxy:
# (1) run this job after the "acceptance" job and...
Expand Down

0 comments on commit 4ca3489

Please sign in to comment.