diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1048ed9..a2a9dc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,9 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] exclude: - os: windows-latest - python-version: 3.6 + python-version: '3.6' + - os: windows-latest + python-version: '3.11.0-rc.1' timeout-minutes: 20 steps: @@ -43,18 +45,11 @@ jobs: - name: Install dependencies run: make setup-ci - - name: Run tests except Windows - if: matrix.os != 'windows-latest' + - name: Run tests env: PYTEST_DISCORD_WEBHOOK: ${{ secrets.PYTEST_DISCORD_WEBHOOK }} run: tox -e cov -- --discord-verbose=0 - - name: Run tests for Windows - if: matrix.os == 'windows-latest' - env: - PYTEST_DISCORD_WEBHOOK: ${{ secrets.PYTEST_DISCORD_WEBHOOK }} - run: tox -e py - - name: Upload coverage report if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' run: |