Skip to content

Commit

Permalink
Use an environment file definition for each binding for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Nov 1, 2022
1 parent 7026b4a commit b323abb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
channel-priority: strict
- name: Install dependencies
shell: bash -l {0}
run: conda env update --file requirements/environment_tests.yml
run: conda env update --file requirements/environment_tests_${{ matrix.QT_BINDING }}.yml
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
channel-priority: strict
- name: Install package dependencies
shell: bash -l {0}
run: conda env update --file requirements/environment_tests.yml
run: conda env update --file requirements/environment_tests_${{ matrix.QT_BINDING }}.yml
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
channel-priority: strict
- name: Install package dependencies
shell: bash -l {0}
run: conda env update --file requirements/environment_tests.yml
run: conda env update --file requirements/environment_tests_${{ matrix.QT_BINDING }}.yml
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ channels:
- conda-forge
dependencies:
- codecov
- pyqt
- pyside2>=5.12
- pyqt>=5.15
- pytest
- pytest-cov
- pytest-qt
Expand Down
9 changes: 9 additions & 0 deletions requirements/environment_tests_pyside2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
channels:
- conda-forge
dependencies:
- codecov
- pyside2>=5.15
- pytest
- pytest-cov
- pytest-qt
- qtpy

0 comments on commit b323abb

Please sign in to comment.