Skip to content

Add more actions to when a11y specs are run #13

Add more actions to when a11y specs are run

Add more actions to when a11y specs are run #13

Workflow file for this run

name: Run rspec tests
# Run when a PR is opened, any branch is pushed
# Also allow manually triggering workflows, and running if a release is created.
on:
- pull_request
- push
- workflow_dispatch
- deployment
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
# Use the .ruby-version file in the repository
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
# TODO: Setup 'optional' a11y specs, in addition to required ones.
- name: Run rspec tests
run: |
bundle exec rspec