Skip to content

pdksync - "(CAT-1618) - Add code coverage to ci" #14

pdksync - "(CAT-1618) - Add code coverage to ci"

pdksync - "(CAT-1618) - Add code coverage to ci" #14

Workflow file for this run

name: "ci"
on:
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'
include:
- ruby_version: '2.7'
puppet_version: '~> 7.0'
- ruby_version: '3.2'
puppet_version: '~> 8.0'
runs-on:
- ubuntu-latest
- windows-latest
name: "spec (ruby ${{ matrix.ruby_version }} | puppet ${{ matrix.puppet_version }} - ${{ matrix.runs-on }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@CAT-1618-add_in_code_coverage"
secrets: "inherit"
with:
rake_task: "spec:coverage"
ruby_version: ${{ matrix.ruby_version }}
puppet_gem_version: ${{ matrix.puppet_version }}
runs_on: ${{ matrix.runs-on }}