-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Test against ARIA practices #3144
Changes from 7 commits
ce1aba6
e70ac6c
b7b5fff
430f222
dc3d959
300e0d1
a4510be
c605363
87bf8dc
e6e7ed1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ defaults: &defaults | |
|
||
unix_box: &unix_box | ||
docker: | ||
- image: circleci/node:10-browsers | ||
- image: circleci/node:16-browsers | ||
|
||
win_box: &win_box | ||
executor: | ||
|
@@ -119,6 +119,16 @@ jobs: | |
- run: npm run build | ||
- run: npm run test:act | ||
|
||
# Run ARIA practices test cases | ||
test_aria_practices: | ||
<<: *defaults | ||
<<: *unix_box | ||
steps: | ||
- checkout | ||
- <<: *restore_dependency_cache_unix | ||
- run: npm run build | ||
- run: npm run test:apg | ||
|
||
# Test locale files | ||
test_locales: | ||
<<: *defaults | ||
|
@@ -140,7 +150,7 @@ jobs: | |
- run: npm run test:virtual-rules | ||
|
||
# Run the test suite for nightly builds. | ||
test_nightly: | ||
test_nightly_chrome: | ||
<<: *defaults | ||
<<: *unix_box | ||
steps: | ||
|
@@ -155,6 +165,18 @@ jobs: | |
CHROME_BIN="$(which google-chrome-beta)" && echo "CHROME_BIN: $CHROME_BIN" | ||
npm run test -- --browsers Chrome,FirefoxNightly | ||
|
||
# Run the test suite for nightly builds. | ||
test_nightly_aria_practices: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should do this same nightly thing with ACT rules. I'll open that PR when this is merged. |
||
<<: *defaults | ||
<<: *unix_box | ||
steps: | ||
- checkout | ||
- <<: *restore_dependency_cache_unix | ||
- run: npm run build | ||
# install ARIA practices | ||
- run: npm install w3c/aria-practices#main | ||
- run: npm run test:apg | ||
|
||
# Test api docs can be built | ||
build_api_docs: | ||
<<: *defaults | ||
|
@@ -269,6 +291,9 @@ workflows: | |
- test_act: | ||
requires: | ||
- test_unix | ||
- test_aria_practices: | ||
requires: | ||
- test_unix | ||
- test_locales: | ||
requires: | ||
- test_unix | ||
|
@@ -354,6 +379,9 @@ workflows: | |
- develop | ||
jobs: | ||
- dependencies_unix | ||
- test_nightly: | ||
- test_nightly_chrome: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How will we know if/when this fails? Is there someone responsible for checking CI logs daily? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, those get kicked out to our #attest-build channel on Slack. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also get emails every night about the run and see if they pass/fail |
||
requires: | ||
- dependencies_unix | ||
- test_nightly_aria_practices: | ||
requires: | ||
- dependencies_unix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that we get access to Chrome 95
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an fyi, circle is changing how they tag their images (should be
cimg/node:16.13-browsers
https://circleci.com/developer/images/image/cimg/node). I'll update the tag in another pr because we can also specify usinglts-browsers
which I think would be good to test on our nightly builds