Add allow_empty_roles to control aborting on roles with no hosts. #1103
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
ruby-version: | |
- "2.7" | |
- "3.1" | |
- "3.2" | |
gemfile: | |
- Gemfile | |
- gemfiles/rails_edge.gemfile | |
continue-on-error: [false] | |
name: ${{ format('Tests (Ruby {0})', matrix.ruby-version) }} | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.continue-on-error }} | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run tests | |
run: bin/test |