diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4cb5bf2e9..ffa8d88900 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,3 +44,21 @@ jobs: make rust-lint make rust-test + updater-gui-tests: + runs-on: ubuntu-latest + container: debian:bullseye + steps: + - name: Install dependencies + run: | + apt-get update && apt-get install --yes git libqt5designer5 python3-venv + - uses: actions/checkout@v3 + - name: Install Python dependencies + run: | + cd journalist_gui + python3 -m venv .venv/ && source .venv/bin/activate + pip install --require-hashes -r dev-requirements.txt + - name: Run tests + run: | + cd journalist_gui + source .venv/bin/activate + QT_QPA_PLATFORM=offscreen python3 test_gui.py -v