github-pages #44
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 | |
# 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 |