Add capture_turbo_stream_broadcast
test helper
#319
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, pull_request, workflow_dispatch] | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
rails: [ "6.1", "7.0", "7.1" ] | |
ruby: [ "3.0", "3.1", "3.2", "3.3" ] | |
allow-fail: [ false ] | |
include: | |
- { ruby: "3.3", rails: "main", allow-fail: true } | |
- { ruby: "3.2", rails: "main", allow-fail: true } | |
- { ruby: "head", rails: "main", allow-fail: true } | |
env: | |
FERRUM_PROCESS_TIMEOUT: 25 | |
FERRUM_DEFAULT_TIMEOUT: 15 | |
RAILS_VERSION: "${{ matrix.rails }}" | |
name: ${{ format('Tests (Ruby {0}, Rails {1})', matrix.ruby, matrix.rails) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
rubygems: latest | |
bundler-cache: true | |
- name: Run Bug Template Tests | |
run: ruby bug_report_template.rb || ruby bug_report_template.rb | |
- name: Run tests | |
id: test | |
run: bundle exec rake TESTOPT=-vdc | |
continue-on-error: ${{ matrix.allow-fail || false }} | |
- name: >- | |
Test outcome: ${{ steps.test.outcome }} | |
# every step must define a `uses` or `run` key | |
run: echo NOOP | |
- name: Fail when generated changes are not checked-in | |
run: | | |
git update-index --refresh | |
git diff-index --quiet HEAD -- |