File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 steps :
2323 - uses : actions/checkout@v4
2424
25- - name : Install Qt system dependencies (Linux only)
26- if : runner.os == 'Linux'
27- run : |
28- sudo apt-get update
29- sudo apt-get install -y \
30- libegl1 \
31- libgl1 \
32- libxkbcommon-x11-0 \
33- libxcb-icccm4 \
34- libxcb-image0 \
35- libxcb-keysyms1 \
36- libxcb-randr0 \
37- libxcb-render-util0 \
38- libxcb-xinerama0 \
39- libxcb-xfixes0 \
40- xvfb
41-
4225 - name : Set up Python ${{ matrix.python-version }}
4326 uses : actions/setup-python@v5
4427 with :
4730 # these libraries enable testing on Qt on linux
4831 - uses : tlambert03/setup-qt-libs@v1
4932
50- - name : Install tox
51- run : pip install tox tox-gh-actions
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ python -m pip install setuptools tox tox-gh-actions
37+
38+ # this runs the platform-specific tests declared in tox.ini
39+ - name : Test with tox
40+ uses : GabrielBB/xvfb-action@v1
41+ with :
42+ run : python -m tox
43+ env :
44+ PLATFORM : ${{ matrix.platform }}
5245
53- - name : Run tox
54- run : tox
Original file line number Diff line number Diff line change @@ -29,5 +29,6 @@ passenv =
2929extras =
3030 testing
3131
32+
3233commands = pytest -v --color =yes
3334# --cov=epicure --cov-report=xml
You can’t perform that action at this time.
0 commit comments