@@ -2,7 +2,7 @@ name: Tests
22
33on :
44 push :
5- branchs :
5+ branches :
66 - master
77 pull_request :
88 paths :
2020 ref : ${{ github.event.inputs.branch }}
2121 - uses : actions/setup-python@v4
2222 with :
23- python-version : " 3.11 "
23+ python-version : " 3.x "
2424 - name : Install test dependencies
2525 run : python -m pip install -U pip wheel tox
2626 - name : Tests
3535 ref : ${{ github.event.inputs.branch }}
3636 - uses : actions/setup-python@v4
3737 with :
38- python-version : " 3.11 "
38+ python-version : " 3.x "
3939 - name : Install test dependencies
4040 run : python -m pip install -U pip wheel tox
4141 - name : Tests
5050 ref : ${{ github.event.inputs.branch }}
5151 - uses : actions/setup-python@v4
5252 with :
53- python-version : " 3.11 "
53+ python-version : " 3.x "
5454 - name : Install test dependencies
5555 run : python -m pip install -U pip wheel tox
5656 - name : Tests
6363 fail-fast : false
6464 matrix :
6565 os : [ubuntu-latest, windows-latest, macos-latest]
66- python : [" 3.7", " 3.8", "3.9", "3.10", "3.11"]
66+ python : ["3.7", "3.8", "3.9", "3.10", "3.11"]
6767 steps :
6868 - uses : actions/checkout@v3
6969 with :
@@ -73,12 +73,12 @@ jobs:
7373 python-version : ${{ matrix.python }}
7474 - name : Install test dependencies
7575 run : python -m pip install -U pip wheel tox
76- - name : Tests
76+ - name : Tests on GNU/Linux
7777 if : matrix.os == 'ubuntu-latest'
7878 run : |
7979 export DISPLAY=:99
80- sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
80+ sudo Xvfb -ac ${DISPLAY} -screen 0 1280x1024x24 > /dev/null 2>&1 &
8181 python -m tox -e py
82- - name : Tests
82+ - name : Tests on other platforms
8383 if : matrix.os != 'ubuntu-latest'
8484 run : python -m tox -e py
0 commit comments