File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 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+ env :
35+ SELENIUM_HOST : ${{ matrix.browser }}
You can’t perform that action at this time.
0 commit comments