Provide a dummy task in CI for the whole suite #31
Workflow file for this run
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
rubocop: | |
name: Rubocop | |
uses: theforeman/actions/.github/workflows/rubocop.yml@v0 | |
test: | |
name: Tests | |
needs: rubocop | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: '2.7' | |
puppet: '7' | |
- ruby: '3.0' | |
puppet: '7' | |
- ruby: '3.2' | |
puppet: '8' | |
env: | |
PUPPET_VERSION: ${{ matrix.puppet }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Ruby environment | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec rake test test:acceptance | |
suite: | |
name: Test suite | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo Test suite completed |