Skip to content

Commit

Permalink
ci(act): Add nightly job to run latest ACT rules (#3403)
Browse files Browse the repository at this point in the history
* ci(act): Add nightly job to run latest ACT rules

* Update .circleci/config.yml

Co-authored-by: Steven Lambert <2433219+straker@users.noreply.github.com>

Co-authored-by: Steven Lambert <2433219+straker@users.noreply.github.com>
  • Loading branch information
WilcoFiers and straker committed May 12, 2022
1 parent 8aa816a commit a459075
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ jobs:
steps:
- checkout
- <<: *restore_dependency_cache_unix
# Always run on the latest master branch, regardless of cache
- run: npm install act-rules/act-rules.github.io#master
- run: npm run build
- run: npm run test:act

Expand Down Expand Up @@ -175,6 +173,19 @@ jobs:
command: echo "export FIREFOX_NIGHTLY_BIN=$(pwd)/firefox/firefox-bin" >> $BASH_ENV
- run: npm run test -- --browsers Chrome,FirefoxNightly

# Run the test suite for nightly builds.
test_nightly_act:
<<: *defaults
<<: *unix_nightly_box
steps:
- browser-tools/install-browser-tools
- checkout
- <<: *restore_dependency_cache_unix
- run: npm run build
# install ACT rules
- run: npm install act-rules/act-rules.github.io#master
- run: npm run test:apg

# Run the test suite for nightly builds.
test_nightly_aria_practices:
<<: *defaults
Expand Down Expand Up @@ -392,6 +403,9 @@ workflows:
- test_nightly_browsers:
requires:
- dependencies_unix
- test_nightly_act:
requires:
- dependencies_unix
- test_nightly_aria_practices:
requires:
- dependencies_unix
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.5.4",
"@deque/dot": "^1.1.5",
"act-rules.github.io": "github:act-rules/act-rules.github.io#master",
"act-rules.github.io": "github:act-rules/act-rules.github.io#a5d7336e020fd04fd429f94c651102f8ab255f01",
"aria-practices": "github:w3c/aria-practices#f7de7ec3a53534018237f24cb9e610f26c30c367",
"aria-query": "^3.0.0",
"browser-driver-manager": "1.0.3",
Expand Down

0 comments on commit a459075

Please sign in to comment.