Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Aug 20, 2022
1 parent af52757 commit 863484e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 863484e

Please sign in to comment.