|
12 | 12 | python-version: [3.8, 3.11] # 3.12, pypy-3.9
|
13 | 13 | rf-version: [5.0.1, 6.1.1, 7.0]
|
14 | 14 | selenium-version: [4.14.0, 4.15.2, 4.16.0] #4.17.0, 4.18.0
|
| 15 | + browser: [firefox, chrome, headlesschrome] |
15 | 16 |
|
16 | 17 | steps:
|
17 | 18 | - uses: actions/checkout@v4
|
@@ -74,20 +75,10 @@ jobs:
|
74 | 75 | run: |
|
75 | 76 | xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome
|
76 | 77 |
|
77 |
| - - name: Run tests with normal Chrome if CPython |
| 78 | + - name: Run tests with ${{ matrix.browser }} if CPython |
78 | 79 | if: startsWith( matrix.python-version, 'pypy') == false
|
79 | 80 | run: |
|
80 |
| - xvfb-run --auto-servernum python atest/run.py --zip chrome |
81 |
| -
|
82 |
| - - name: Run tests with headless Chrome if CPython |
83 |
| - if: startsWith( matrix.python-version, 'pypy') == false |
84 |
| - run: | |
85 |
| - xvfb-run --auto-servernum python atest/run.py --zip headlesschrome |
86 |
| -
|
87 |
| - - name: Run tests with Firefox if Cpython |
88 |
| - if: startsWith( matrix.python-version, 'pypy') == false |
89 |
| - run: | |
90 |
| - xvfb-run --auto-servernum python atest/run.py --zip firefox |
| 81 | + xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }} |
91 | 82 |
|
92 | 83 | # - name: Run tests with Selenium Grid
|
93 | 84 | # if: matrix.python-version == '3.11' && matrix.rf-version == '3.2.2' && matrix.python-version != 'pypy-3.9'
|
|
0 commit comments