Skip to content

Merge pull request #213 from bjc-edc/master #42

Merge pull request #213 from bjc-edc/master

Merge pull request #213 from bjc-edc/master #42

Workflow file for this run

name: Run rspec tests
on:
- pull_request
- push
- workflow_dispatch
jobs:
a11y:
runs-on: ubuntu-latest
continue-on-error: true
# env:
# BUNDLE_GEMFILE: utilities/Gemfile
strategy:
matrix:
# The files in /bjc-r/course w/o a .html extension
# These correspond to rspec tags for each test run.
course:
- bjc4nyc
- bjc4nyc.es
- sparks
- bjc4nyc_teacher
- sparks-teacher
suite:
- wcag20
- wcag22
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
# ruby-version: 3.2.2
bundler-cache: true
- name: a11y tests
run: bundle exec rspec utilities/specs --tag ${{ matrix.course }}_${{ matrix.suite }}
- name: summary
if: always()
run: ruby utilities/specs/spec_summary.rb