Reduce CI jobs #76
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
- "*-stable" | |
jobs: | |
ci: | |
name: "Run Tests (${{ matrix.ruby.label }} on ${{ matrix.os.label }})" | |
runs-on: ${{ matrix.os.image }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- label: Ruby 2.7 | |
version: "2.7" | |
- label: Ruby 3.2 | |
version: "3.2" | |
os: | |
- label: Windows | |
image: "windows-latest" | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: "Set up ${{ matrix.ruby.label }}" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby.version }} | |
bundler-cache: true | |
- name: Run Minitest based tests | |
run: bash script/test | |
- name: Run Cucumber based tests | |
run: bash script/cucumber | |
- name: Generate and Build a new site | |
run: bash script/default-site |