diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9528f0..767f71d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, windows-latest] python-version: ["3.7", "3.8", "3.9", "3.10"] deps: [test_extra] # Test all on ubuntu, test ends on macos @@ -49,11 +49,12 @@ jobs: python -m pip install --upgrade -e .[${{ matrix.deps }}] python -m pip install --upgrade check-manifest pytest-cov - name: Check manifest + if: runner.os != 'Windows' # setup.py does not support sdist on Windows run: check-manifest - name: pytest env: COLUMNS: 120 run: | - pytest --color=yes -v --cov --cov-report=xml + pytest --color=yes -ra -v --cov --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 diff --git a/appveyor.yml b/appveyor.yml index b524356..4348ad0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,22 +9,10 @@ environment: matrix: - - PYTHON: "C:\\Python310-x64" - PYTHON_VERSION: "3.10.x" - PYTHON_ARCH: "64" - - - PYTHON: "C:\\Python37-x64" - PYTHON_VERSION: "3.7.x" - PYTHON_ARCH: "64" - - PYTHON: "C:\\Python38" PYTHON_VERSION: "3.8.x" PYTHON_ARCH: "32" - - PYTHON: "C:\\Python38-x64" - PYTHON_VERSION: "3.8.x" - PYTHON_ARCH: "64" - init: - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"