QA-HIV doc #2718
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 Accessibility Tests | |
on: [push] | |
jobs: | |
build: | |
name: Run Accessibility Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Install Ruby Dependencies | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 | |
bundler-cache: true | |
- name: Install Node.js Dependencies | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: npm install | |
- name: Start Server | |
run: npm run build:media && npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach | |
- name: Run Accessibility Tests -- Desktop | |
run: npm run test:a11y-desktop | |
- name: Run Accessibility Tests -- Mobile | |
run: npm run test:a11y-mobile |