-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f47bf0
commit d022ed4
Showing
2 changed files
with
33 additions
and
2 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
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,23 @@ | ||
#!/bin/bash -ex | ||
|
||
# Create conda environment for this test | ||
conda create -n test-pyside6 | ||
conda activate test-pyside6 | ||
|
||
if [ "$USE_CONDA" = "Yes" ]; then | ||
# There are no conda packages for PySide6 | ||
exit 0 | ||
elif [ "$PYTHON_VERSION" == "2.7" ]; then | ||
# There is no wheel for PySide6 on Python 2.7 | ||
exit 0 | ||
else | ||
# Simple solution to avoid failures with the Qt3D modules | ||
conda install coveralls mock pytest pytest-cov python="$PYTHON_VERSION" -c conda-forge -q | ||
pip install -q pyside6==6.2.0 | ||
fi | ||
|
||
# Install package | ||
python -m pip install -e . | ||
|
||
# Run tests | ||
python qtpy/tests/runtests.py |