-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed python 3.7 and opencl from github CI
- Loading branch information
1 parent
391113e
commit b0de2ce
Showing
1 changed file
with
23 additions
and
23 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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [3.7, 3.8, 3.9] | ||
python-version: [3.8, 3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -33,39 +33,39 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# these libraries, along with pytest-xvfb (added in the `deps` in tox.ini), | ||
# enable testing on Qt on linux | ||
- name: Install Linux libraries | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \ | ||
libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \ | ||
libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 | ||
# these libraries enable testing on Qt on linux | ||
- uses: tlambert03/setup-qt-libs@v1 | ||
|
||
# strategy borrowed from vispy for installing opengl libs on windows | ||
- name: Install Windows OpenGL | ||
if: runner.os == 'Windows' | ||
run: | | ||
git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git | ||
powershell gl-ci-helpers/appveyor/install_opengl.ps1 | ||
- name: Set up conda ${{ matrix.python-version }} | ||
uses: conda-incubator/[email protected] | ||
with: | ||
auto-update-conda: true | ||
activate-environment: test | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge | ||
|
||
- name: Conda info | ||
shell: bash -l {0} | ||
run: conda info | ||
|
||
# note: if you need dependencies from conda, considering using | ||
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda | ||
# and | ||
# tox-conda: https://github.com/tox-dev/tox-conda | ||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools tox tox-gh-actions | ||
pip install pytest pytest-cov PyQt5 pytest-qt pytest-xvfb | ||
pip install -e . | ||
# this runs the platform-specific tests declared in tox.ini | ||
- name: Test with tox | ||
run: tox | ||
env: | ||
PLATFORM: ${{ matrix.platform }} | ||
# this runs the platform-specific tests | ||
- name: Run tests | ||
shell: bash -l {0} | ||
run: pytest -v --cov=./ --cov-report=xml | ||
|
||
- name: Coverage | ||
uses: codecov/codecov-action@v1 | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 | ||
|
||
deploy: | ||
# this will run when you have tagged a commit, starting with "v*" | ||
|