We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0469f1c commit fd96163Copy full SHA for fd96163
.github/workflows/accessibility-tests.yml
@@ -0,0 +1,35 @@
1
+name: Accessibility Tests
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - gh-pages
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v3
15
+ with:
16
+ ref: ${{ github.head_ref }}
17
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v4
20
21
+ python-version: '3.10'
22
23
+ - name: Install dependencies
24
+ run: |
25
+ python3 -m pip install --upgrade pip
26
+ pip install -r requirements.txt
27
+ pip install axe-core-python pytest playwright axe-playwright-python
28
29
+ - name: Install Playwright browsers
30
31
+ playwright install
32
33
+ - name: Run accessibility tests
34
35
+ python3 -m pytest tests/
0 commit comments