diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index 4b3cb86..011e6ef 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -48,9 +48,10 @@ jobs: sudo mkdir -p /etc/.pymodaq sudo chmod uo+rw /etc/.pymodaq - name: Install the plugin with the latest PyMoDAQ release + # PySide6 6.12.0 aborts (garbage collector) after the tests that open PyMoDAQ's Dashboard, see PyMoDAQ issue #1275 run: | python -m pip install --upgrade pip - pip install pytest pytest-qt pytest-xvfb ${{ matrix.qt-backend }} + pip install pytest pytest-qt pytest-xvfb ${{ matrix.qt-backend == 'pyside6' && 'pyside6!=6.12.0' || matrix.qt-backend }} pip install -e . - name: Tests run: pytest -vv tests diff --git a/.github/workflows/reusable-tests.yml b/.github/workflows/reusable-tests.yml index b6b0662..66b42b7 100644 --- a/.github/workflows/reusable-tests.yml +++ b/.github/workflows/reusable-tests.yml @@ -38,9 +38,10 @@ jobs: sudo mkdir -p /etc/.pymodaq sudo chmod uo+rw /etc/.pymodaq - name: Install the plugin + # PySide6 6.12.0 aborts (garbage collector) after the tests that open PyMoDAQ's Dashboard, see PyMoDAQ issue #1275 run: | python -m pip install --upgrade pip - pip install flake8 pytest pytest-qt pytest-xvfb ${{ inputs.qt-backend }} + pip install flake8 pytest pytest-qt pytest-xvfb ${{ inputs.qt-backend == 'pyside6' && 'pyside6!=6.12.0' || inputs.qt-backend }} pip install -e . - name: Lint (syntax errors and undefined names only) run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics