Revert last changes of pyinstaller-release.yml #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
name: PyTest Code Testing | |
env: | |
DISPLAY: ":99.0" | |
QT_SELECT: "qt6" | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Install xvfb | |
run: | | |
sudo apt install -y xvfb x11-utils libxkbcommon-x11-0 libegl1 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
pip install pytest pytest-cov | |
python -m pytest ./Tests/ --doctest-modules --cov |