diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index c1e3bfc..f974c91 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -12,7 +12,7 @@ jobs: os: [ ubuntu-18.04, ubuntu-20.04, - # windows-latest, + windows-latest, macOS-10.15, ] @@ -26,13 +26,13 @@ jobs: # Install qt support libs - 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 - # if (Test-Path -Path "C:\Windows\system32\opengl32.dll" -PathType Leaf) {Exit 0} else {Exit 1} + 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 + if (Test-Path -Path "C:\Windows\system32\opengl32.dll" -PathType Leaf) {Exit 0} else {Exit 1} - name: Install Dependencies run: | @@ -46,7 +46,7 @@ jobs: - name: Test with pytest uses: GabrielBB/xvfb-action@v1 with: - run: pytest --cov-report xml --cov=napari_aicsimageio napari_aicsimageio/tests/ + run: python -m pytest --cov-report xml --cov=napari_aicsimageio napari_aicsimageio/tests/ - name: Upload codecov uses: codecov/codecov-action@v1 @@ -67,4 +67,4 @@ jobs: flake8 napari_aicsimageio --count --verbose --show-source --statistics isort napari_aicsimageio --check-only mypy napari_aicsimageio - black --check --exclude vendor napari_aicsimageio \ No newline at end of file + black --check --exclude vendor napari_aicsimageio