Skip to content

- adds option to synchronization of the Artisan PID SV slider with ex… #524

- adds option to synchronization of the Artisan PID SV slider with ex…

- adds option to synchronization of the Artisan PID SV slider with ex… #524

Workflow file for this run

name: Pytest
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pytest:
runs-on: macos-latest # on ubunut the Qt libs are missing: ImportError: libEGL.so.1: cannot open shared object file: No such file or directory
name: runner / pytest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
# - name: Install Linux Qt system dependencies
# if: runner.os == 'Linux'
# run: |
# # APT update
# sudo apt update
#
# # Install Pyside6 system dependencies
# # https://doc.qt.io/qt-6/linux-requirements.html
# sudo apt install -y \
# libfontconfig1-dev \
# libfreetype6-dev \
# libx11-dev \
# libx11-xcb-dev \
# libxext-dev \
# libxfixes-dev \
# libxi-dev \
# libxrender-dev \
# libxkbcommon-dev \
# libxkbcommon-x11-dev \
# libatspi2.0-dev \
# '^libxcb.*-dev'
# actions/setup-python@v4 commes with an automatic pip cache
# - name: Get pip cache dir
# id: pip-cache
# run: |
# echo "::set-output name=dir::$(pip cache dir)"
# - uses: actions/cache@v3
# id: cache
# with:
## path: ~/.cache/pip # ubuntu
## path: ~/Library/Caches/pip # macos
# path: ${{ steps.pip-cache.outputs.dir }} # generic
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.*') }}
# restore-keys: |
# ${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade -r src/requirements-dev.txt
pip install -r src/requirements.txt
- name: Test with pytest
run: |
pytest