File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11name : axe
2+
23on :
34 push :
45 branches :
89 branches :
910 - master
1011 - develop
12+
1113jobs :
1214 axe :
1315 runs-on : ubuntu-latest
2729 - name : Install specific version of ChromeDriver
2830 run : npm install -g chromedriver@125
2931 - name : Run axe
32+ id : axe-test
3033 run : |
3134 npm install -g @axe-core/cli
3235 sleep 90
33- axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit
36+ axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit || echo "status=warning" >> $GITHUB_ENV
37+
38+ - name : Set output status to warning (if test fails)
39+ if : env.status == 'warning'
40+ run : echo "::warning::Accessibility tests failed, but this does not block (most) PRs."
You can’t perform that action at this time.
0 commit comments