WIP create accessibility specs for every page #9
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: Run rspec tests | |
on: [pull_request] | |
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
# Use the .ruby-version file in the repository | |
# TODO: Can we specifiy a different file path? | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
- name: ${{ matrix.course }} - a11y tests | |
run: bundle exec rspec utilities/spec --tag ${{ matrix.course }} |