Skip to content

Commit aa91876

Browse files
Add more test cases
1 parent 9ff47b1 commit aa91876

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/pa11y.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
- run: npm install -g pa11y-ci
30-
- run: 'pa11y-ci -T 2 https://pa11y.org https://pa11y.test || echo "exit code: $?"'
31-
- run: 'pa11y-ci -T 20 https://pa11y.org https://pa11y.test https://github.com || echo "exit code: $?"'
32-
- run: 'pa11y-ci https://pa11y.org https://pa11y.test || echo "exit code: $?"'
30+
- run: 'pa11y-ci https://pa11y.org https://pa11y.test && echo "exit code: $?" || echo "exit code: $?"'
31+
- run: 'pa11y-ci -T 2 https://pa11y.org https://pa11y.test && echo "exit code: $?" || echo "exit code: $?"'
32+
- run: 'pa11y-ci -T 20 https://pa11y.org https://pa11y.test https://github.com && echo "exit code: $?" || echo "exit code: $?"'
33+
- run: echo '{"defaults":{"threshold":2}}' > .pa11yci
34+
- run: 'pa11y-ci -T 2 https://pa11y.org https://pa11y.test && echo "exit code: $?" || echo "exit code: $?"'
35+
- run: 'pa11y-ci -T 20 https://pa11y.org https://pa11y.test https://github.com && echo "exit code: $?" || echo "exit code: $?"'
36+
- run: echo '{"defaults":{"threshold":20}}' > .pa11yci
37+
- run: 'pa11y-ci -T 2 https://pa11y.org https://pa11y.test && echo "exit code: $?" || echo "exit code: $?"'
38+
- run: 'pa11y-ci -T 20 https://pa11y.org https://pa11y.test https://github.com && echo "exit code: $?" || echo "exit code: $?"'

0 commit comments

Comments
 (0)