Skip to content

Commit

Permalink
Install Qt dependencies in the CI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed May 21, 2024
1 parent 4f7599c commit 5983698
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.12", "3.11", "3.10"]
env:
DISPLAY: ':99.0'

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -42,6 +44,11 @@ jobs:
poetry run python -c "from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()"
poetry run python -c "from river import bandit; bandit.datasets.NewsArticles().download()"
- uses: tlambert03/setup-qt-libs@v1
- name: build "display"
run: |
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
- name: pytest
run: |
poetry run pytest
Expand Down

0 comments on commit 5983698

Please sign in to comment.