We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 365a59c commit 1c1ca5cCopy full SHA for 1c1ca5c
.github/workflows/tests.yml
@@ -0,0 +1,36 @@
1
+name: Playwright Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
15
+ strategy:
16
+ matrix:
17
+ python-version: [3.8, 3.9, 3.10]
18
19
+ steps:
20
+ - name: Checkout repository
21
+ uses: actions/checkout@v2
22
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v2
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
+ playwright install
33
34
+ - name: Run Playwright tests
35
36
+ pytest tests
0 commit comments