|
9 | 9 | strategy: |
10 | 10 | matrix: |
11 | 11 | python-version: [3.7, 3.9, pypy-3.7] |
12 | | - rf-version: [3.2.2, 4.1.3] |
| 12 | + rf-version: [4.1.3, 5.0.1, 6.0.1] |
13 | 13 |
|
14 | 14 | steps: |
15 | | - - uses: actions/checkout@v2 |
| 15 | + - uses: actions/checkout@v3 |
16 | 16 | - name: Set up Python ${{ matrix.python-version }} with Robot Framework ${{ matrix.rf-version }} |
17 | | - uses: actions/setup-python@v2 |
| 17 | + uses: actions/setup-python@v4 |
18 | 18 | with: |
19 | 19 | python-version: ${{ matrix.python-version }} |
20 | 20 | - name: Start xvfb |
@@ -44,24 +44,34 @@ jobs: |
44 | 44 | if: matrix.python-version != 'pypy-3.7' |
45 | 45 | run: | |
46 | 46 | which python |
| 47 | +
|
47 | 48 | - name: Run tests with headless Chrome and with PyPy |
48 | 49 | if: matrix.python-version == 'pypy-3.7' |
49 | 50 | run: | |
50 | 51 | xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome |
51 | | - - name: Run tests with headless Chrome and with Python != 3.8 |
52 | | - if: matrix.python-version != '3.8' && matrix.python-version != 'pypy-3.7' |
53 | | - run: | |
54 | | - xvfb-run --auto-servernum python atest/run.py --zip headlesschrome |
55 | | - - name: Run tests normal Chrome with Python 3.8 |
56 | | - if: matrix.python-version == '3.8' && matrix.rf-version != '3.2.2' && matrix.python-version != 'pypy-3.7' |
| 52 | +
|
| 53 | + - name: Run tests with normal Chrome and with Python 3.7 |
| 54 | + if: matrix.python-version == '3.7' |
57 | 55 | run: | |
58 | 56 | xvfb-run --auto-servernum python atest/run.py --zip chrome |
| 57 | +
|
| 58 | + - name: Run tests with headless Firefox with Python 3.9 and RF 4.1.3 |
| 59 | + if: matrix.python-version == '3.9' && matrix.rf-version == '4.1.3' |
| 60 | + run: | |
| 61 | + xvfb-run --auto-servernum python atest/run.py --zip headlessfirefox |
| 62 | +
|
| 63 | + - name: Run tests with normal Firefox with Python 3.9 and RF != 4.1.3 |
| 64 | + if: matrix.python-version == '3.9' && matrix.rf-version != '4.1.3' |
| 65 | + run: | |
| 66 | + xvfb-run --auto-servernum python atest/run.py --zip firefox |
| 67 | +
|
59 | 68 | - name: Run tests with Selenium Grid |
60 | 69 | if: matrix.python-version == '3.8' && matrix.rf-version == '3.2.2' && matrix.python-version != 'pypy-3.7' |
61 | 70 | run: | |
62 | 71 | wget --no-verbose --output-document=./selenium-server-standalone.jar http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar |
63 | 72 | sudo chmod u+x ./selenium-server-standalone.jar |
64 | 73 | xvfb-run --auto-servernum python atest/run.py --zip headlesschrome --grid True |
| 74 | +
|
65 | 75 | - uses: actions/upload-artifact@v1 |
66 | 76 | if: success() || failure() |
67 | 77 | with: |
|
0 commit comments