Sha256: ec04b89b7ee2385e31be83fe8220bdfcf6cd91e4586b04ff230909ac195c31db

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

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"
        include:
          - ruby-version: '2.7'
            puppet_gem_version: '~> 7.0'
          - ruby_version: '3.2'
            puppet_gem_version: '~> 8.0' # puppet8'
        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:
          - "2.7"
          - "3.2"
        include:
          - ruby-version: '2.7'
            puppet_gem_version: '~> 7.0'
          - ruby_version: '3.2'
            puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
        runs_on:
          - "ubuntu-latest"
          - "windows-latest"
    name: "acceptance (${{ matrix.runs_on }} ruby ${{ matrix.ruby_version }} | puppet ${{matrix.puppet_gem_version}})"
    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 }}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-modulebuilder-2.0.2 .github/workflows/ci.yml
puppet-modulebuilder-2.0.1 .github/workflows/ci.yml
puppet-modulebuilder-2.0.0 .github/workflows/ci.yml
puppet-modulebuilder-1.1.0 .github/workflows/ci.yml