Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

[Issue #40]: Setup pa11y-ci #41

Merged
merged 63 commits into from
Jun 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
e3a2dc8
initial commit
rylew1 May 17, 2024
73c9c75
try npm run dev
rylew1 May 17, 2024
841c408
add timeout
rylew1 May 18, 2024
d3f928a
wait for server shell script
rylew1 May 18, 2024
5a6e397
permissions and wait shell script name change
rylew1 May 18, 2024
db60cd6
update name
rylew1 May 18, 2024
1aa3901
permissions
rylew1 May 18, 2024
4e02924
change dir
rylew1 May 18, 2024
14d95cd
ignore pa11y_output.txt
rylew1 Jun 4, 2024
64e0695
update package.json command
rylew1 Jun 4, 2024
4ff76ee
add a frontend server health check in ci
rylew1 Jun 4, 2024
ecaec30
update package-lock to fix merge conflict
rylew1 Jun 4, 2024
0d03cb4
Merge branch 'main' into rylew/40-pa11y-ci-setup
rylew1 Jun 4, 2024
acf2710
update package-lock
rylew1 Jun 4, 2024
3a55d13
another package-lock update
rylew1 Jun 4, 2024
6e027fa
debug step
rylew1 Jun 4, 2024
e226341
debug logs
rylew1 Jun 4, 2024
5ac6c28
verify pa11y_output.txt exists step
rylew1 Jun 4, 2024
d62a99e
Merge branch 'main' into rylew/40-pa11y-ci-setup
rylew1 Jun 4, 2024
f1faef5
fix package-lock
rylew1 Jun 4, 2024
f22bcc1
bump to node 20
rylew1 Jun 4, 2024
760ea68
fix a lint error
rylew1 Jun 4, 2024
8bb94b3
try with no output file
rylew1 Jun 4, 2024
e3c19e9
fix ci file error
rylew1 Jun 4, 2024
ed001c0
rename title of ci
rylew1 Jun 4, 2024
b4af11c
try a larger timeout
rylew1 Jun 4, 2024
780b990
add an extra sleep
rylew1 Jun 4, 2024
5585ec2
try with npm run build
rylew1 Jun 4, 2024
4fc3dc3
try concurrency and some other defaults
rylew1 Jun 4, 2024
71e47b8
add debug in ci
rylew1 Jun 5, 2024
fe7f510
fix quote error on debug
rylew1 Jun 5, 2024
84872e3
try debug in env
rylew1 Jun 5, 2024
fc3af89
force fail to get an artifact
rylew1 Jun 5, 2024
fe88fbd
list all files in working
rylew1 Jun 5, 2024
7d56d3d
add debug file path
rylew1 Jun 5, 2024
eb1fa48
update path
rylew1 Jun 5, 2024
3656e5b
more path update
rylew1 Jun 5, 2024
2a9d323
server log
rylew1 Jun 5, 2024
8371c7a
try just localhost
rylew1 Jun 5, 2024
1cb0a1a
different json config
rylew1 Jun 5, 2024
ab00d9a
try with actions
rylew1 Jun 5, 2024
e4eae41
simplistic config
rylew1 Jun 5, 2024
7fa5f66
add screenshot output dir
rylew1 Jun 5, 2024
749f458
try without chrome executable
rylew1 Jun 5, 2024
b100d89
add all of our pages
rylew1 Jun 5, 2024
b31616e
try with no leading slash
rylew1 Jun 5, 2024
7a1cf39
try to start api server
rylew1 Jun 6, 2024
de01ef0
remove api server and try different settings
rylew1 Jun 6, 2024
9d05468
increase timeout
rylew1 Jun 6, 2024
86cdbf7
Update .pa11yci.json
acouch Jun 6, 2024
8763bbb
try for a failure
rylew1 Jun 6, 2024
4564cfe
add color contrast ignore back in
rylew1 Jun 6, 2024
acbaa21
try to upload screenshot-output dir
rylew1 Jun 6, 2024
50d1aa8
list screenshots-output
rylew1 Jun 6, 2024
5bc0185
updates
rylew1 Jun 6, 2024
19dc433
cleanup
rylew1 Jun 6, 2024
ed88c71
space step
rylew1 Jun 6, 2024
a08ba7b
remove unnecessary pa11y package
rylew1 Jun 6, 2024
58560fc
try post results as PR comment
rylew1 Jun 6, 2024
f08dc3f
try again
rylew1 Jun 6, 2024
23bc355
list files
rylew1 Jun 6, 2024
3f40d91
create the frontend dir
rylew1 Jun 6, 2024
2cdebec
revert ci file
rylew1 Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug logs
  • Loading branch information
rylew1 committed Jun 4, 2024
commit e226341d056c7d3f74cc70ae781db221fead8e65
3 changes: 2 additions & 1 deletion .github/workflows/ci-frontend-a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
NODE_VERSION: 18
LOCKFILE_PATH: ./frontend/package-lock.json
PACKAGE_MANAGER: npm
DEBUG: 'pa11y*' # Enable pa11y debug logs

jobs:
build:
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
- name: Run pa11y-ci
run: npm run test:pa11y 2>&1 | tee pa11y_output.txt

- name: Debug pa11y-ci failure
- name: Capture pa11y-ci failure logs
if: failure()
run: cat pa11y_output.txt || echo "pa11y_output.txt not found"

Expand Down
Loading