Merge pull request #414 from binford2k/patch-1 #469
This file contains hidden or 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: | |
| - "3.2" | |
| include: | |
| - ruby_version: '3.2' | |
| puppet_gem_version: '~> 8.0' | |
| runs_on: | |
| - "ubuntu-latest" | |
| - "windows-latest" | |
| name: "spec (${{ matrix.runs_on }} ruby ${{ matrix.ruby_version }} | puppet ${{matrix.puppet_gem_version}})" | |
| uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main" | |
| secrets: "inherit" | |
| with: | |
| rake_task: "spec:coverage" | |
| ruby_version: ${{ matrix.ruby_version }} | |
| puppet_gem_version: ${{ matrix.puppet_gem_version }} | |
| runs_on: ${{ matrix.runs_on }} | |
| acceptance: | |
| needs: "spec" | |
| strategy: | |
| matrix: | |
| ruby_version: | |
| - "3.2" | |
| include: | |
| - ruby_version: '3.2' | |
| puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8' | |
| runs_on: | |
| - "ubuntu-latest" | |
| - "windows-latest" | |
| 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 }} | |
| runs_on: ${{ matrix.runs_on }} |