Skip to content

Commit

Permalink
Migrate updater-gui-tests job to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
legoktm committed Oct 12, 2023
1 parent d556ee4 commit 3621b4b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3621b4b

Please sign in to comment.