Skip to content

Commit

Permalink
update CI github action - no gui libaries necessary anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
CPrescher committed Jun 20, 2024
1 parent f676434 commit a0142d5
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ jobs:
unit-tests:
runs-on: ubuntu-latest

#----------------------------------------------
# set up QT environment variables
#----------------------------------------------
env:
QT_QPA_PLATFORM: offscreen

strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11" ]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
#----------------------------------------------
Expand All @@ -24,27 +18,14 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Install poetry
run: pip install poetry

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'

#----------------------------------------------
# ----- install apt dependencies -----
#----------------------------------------------
- name: Install Apt Dependencies
run: |
sudo apt-get update
sudo apt-get install libxkbcommon-x11-0 libxkbcommon-x11-dev libxcb-xinerama0 \
libxkbcommon-dev libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev \
libxi-dev libxrender-dev libxcb1-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev \
libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev \
libxcb-randr0-dev libxcb-render-util0-dev libegl1
cache: "pip"

- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -

#----------------------------------------------
# install dependencies
Expand Down

0 comments on commit a0142d5

Please sign in to comment.