-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from PyMoDAQ/bugfix/pyqt6_pyside2_6_compat
Bugfix/pyqt6 pyside2 6 compat
- Loading branch information
Showing
14 changed files
with
76 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,10 @@ jobs: | |
python-version: ${{ inputs.python }} | ||
- name: Install package | ||
run: | | ||
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils | ||
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1 libegl1 | ||
python -m pip install --upgrade pip | ||
export QT_DEBUG_PLUGINS=1 | ||
pip install flake8 pytest pytest-cov pytest-qt pytest-xdist pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }} | ||
pip install flake8 pytest pytest-cov pytest-qt pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }} | ||
git branch | ||
pip install -e . | ||
- name: create local pymodaq folder and setting permissions | ||
|
@@ -41,7 +41,7 @@ jobs: | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=docs | ||
- name: Test with pytest | ||
run: | | ||
pytest --cov=pymodaq --cov-report=xml -n auto | ||
pytest --cov --cov-report=xml | ||
- name: Upload coverage to codecov.io | ||
uses: codecov/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
set QT_DEBUG_PLUGINS=1 | ||
pip install flake8 pytest pytest-cov pytest-qt pytest-xdist pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }} | ||
pip install flake8 pytest pytest-cov pytest-qt pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }} | ||
git branch | ||
pip install -e . | ||
- name: Linting with flake8 | ||
|
@@ -36,7 +36,7 @@ jobs: | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=src/pymodaq/resources/QtDesigner_Ressources,docs | ||
- name: Test with pytest | ||
run: | | ||
pytest --cov=pymodaq --cov-report=xml -n auto | ||
pytest --cov --cov-report=xml | ||
- name: Upload coverage to codecov.io | ||
uses: codecov/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: '3.11 PyQt5 Windows' | ||
|
||
on: [push] | ||
|
||
jobs: | ||
call_workflow: | ||
uses: ./.github/workflows/Testbase_win.yml | ||
with: | ||
python: '3.11' | ||
qt5: 'pyqt5' |
4 changes: 2 additions & 2 deletions
4
.github/workflows/Testp39pyqt6.yml → .github/workflows/Testp311pyqt6.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: '3.9 PyQt6' | ||
name: '3.11 PyQt6' | ||
|
||
on: [push] | ||
|
||
jobs: | ||
call_workflow: | ||
uses: ./.github/workflows/Testbase.yml | ||
with: | ||
python: '3.8' | ||
python: '3.11' | ||
qt5: 'pyqt6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: '3.11 PyQt6 Windows' | ||
|
||
on: [push] | ||
|
||
jobs: | ||
call_workflow: | ||
uses: ./.github/workflows/Testbase_win.yml | ||
with: | ||
python: '3.11' | ||
qt5: 'pyqt6' |
6 changes: 3 additions & 3 deletions
6
.github/workflows/Testp38pyside2.yml → .github/workflows/Testp311pyside6.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: '3.8 PySide2' | ||
name: '3.11 PySide6' | ||
|
||
on: [push] | ||
|
||
jobs: | ||
call_workflow: | ||
uses: ./.github/workflows/Testbase.yml | ||
with: | ||
python: '3.8' | ||
qt5: 'pyside2' | ||
python: '3.11' | ||
qt5: 'pyside6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: '3.11 Pyside6 Windows' | ||
|
||
on: [push] | ||
|
||
jobs: | ||
call_workflow: | ||
uses: ./.github/workflows/Testbase_win.yml | ||
with: | ||
python: '3.11' | ||
qt5: 'pyside6' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters