Merge pull request #1313 from puppetlabs/CAT-1713/main/retries #433
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ci" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
jobs: | |
spec: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: | |
- "2.7" | |
- "3.2" | |
name: "spec (ruby ${{ matrix.ruby_version }})" | |
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main" | |
secrets: "inherit" | |
with: | |
rake_task: 'spec:coverage' | |
ruby_version: ${{ matrix.ruby_version }} | |
acceptance: | |
needs: "spec" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "windows-2019" | |
ruby_version: | |
- "2.7" | |
- "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 }} | |
rake_task: 'acceptance:local' | |
runs_on: ${{ matrix.os }} |