99 continue-on-error : true
1010 strategy :
1111 matrix :
12- # python-version: [3.9, 3.13.0] # pypy-3.9
13- python-version : [{earliest: 3.9}, {latest: 3.13.0}] # pypy-3.9
14- rf-version : [6.1.1, 7.2.2, 7.3]
12+ python-version : [3.9, 3.13.0] # pypy-3.9
13+ # python-version: [{earliest: 3.9}, {latest: 3.13.0}] # pypy-3.9
14+ rf-version : [6.1.1, 7.2.2, 7.3.1 ]
1515 selenium-version : [4.32.0, 4.33.0]
1616 browser : [firefox, chrome, headlesschrome] # edge
1717
1818 steps :
1919 - uses : actions/checkout@v4
20- - name : Set up Python ${{ matrix.python-version.* }} with Robot Framework ${{ matrix.rf-version }}
20+ - name : Set up Python ${{ matrix.python-version }} with Robot Framework ${{ matrix.rf-version }}
2121 uses : actions/setup-python@v5
2222 with :
23- python-version : ${{ matrix.python-version.* }}
23+ python-version : ${{ matrix.python-version }}
2424 - name : Setup Chrome
2525 uses : browser-actions/setup-chrome@latest
2626 with :
@@ -42,12 +42,12 @@ jobs:
4242 export DISPLAY=:99.0
4343 Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &
4444 - name : Install dependencies
45- if : matrix.python-version.* != 'pypy-3.7'
45+ if : matrix.python-version != 'pypy-3.7'
4646 run : |
4747 python -m pip install --upgrade pip
4848 pip install -r requirements-dev.txt
4949 - name : Install dependencies for pypy
50- if : matrix.python-version.* == 'pypy-3.9'
50+ if : matrix.python-version == 'pypy-3.9'
5151 run : |
5252 python -m pip install --upgrade pip
5353 pip install -r requirements.txt
@@ -65,14 +65,14 @@ jobs:
6565 echo "$SELENIUM_MANAGER_EXE"
6666 echo "WEBDRIVERPATH=$($SELENIUM_MANAGER_EXE --browser chrome --debug | awk '/INFO[[:space:]]Driver path:/ {print $NF;exit}')" >> "$GITHUB_ENV"
6767 echo "$WEBDRIVERPATH"
68- - name : Generate stub file for ${{ matrix.python-version.* }}
69- if : matrix.python-version.* != 'pypy-3.9'
68+ - name : Generate stub file for ${{ matrix.python-version }}
69+ if : matrix.python-version != 'pypy-3.9'
7070 run : |
7171 invoke gen-stub
7272
7373 # Temporarily ignoring pypy execution
7474 - name : Run tests with headless Chrome and with PyPy
75- if : startsWith( matrix.python-version.* , 'pypy') == true
75+ if : startsWith( matrix.python-version, 'pypy') == true
7676 run : |
7777 xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome
7878
8181 # run: |
8282 # xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}
8383
84- - name : Run tests with latest python
85- if : matrix.python-version == ${{ matrix.python. version.latest }}
84+ - name : Run tests with latest python and latest robot framework
85+ if : matrix.python-version == '3.13.0' && matrix.rf- version == '7.3.1'
8686 run : |
8787 xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}
8888
0 commit comments