We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd6d4e commit a528ed8Copy full SHA for a528ed8
.github/workflows/run-tests.yaml
@@ -0,0 +1,35 @@
1
+name: Run Tests (parallel)
2
+
3
+on: [workflow_dispatch]
4
5
+jobs:
6
+ test:
7
+ name: Run tests
8
+ runs-on: ubuntu-latest
9
10
+ container:
11
+ image: python:3.11.7-alpine3.18
12
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ browser: ['firefox', 'chrome', 'edge']
17
18
+ services:
19
+ selenium:
20
+ image: selenium/standalone-${{ matrix.browser }}:4.15.0-20231129
21
+ options: --shm-size=2gb
22
+ env:
23
+ SE_NODE_OVERRIDE_MAX_SESSIONS: true
24
+ SE_NODE_MAX_SESSIONS: 15
25
+ SE_NODE_SESSION_TIMEOUT: 30
26
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - uses: actions/setup-python@v4
30
+ with:
31
+ python-version: "3.11.7"
32
+ - run: pip install -r requirements-lock.txt
33
+ - run: pytest -vv --use-browser remote
34
35
+ SELENIUM_HOST: ${{ matrix.browser }}
0 commit comments