Skip to content

Commit

Permalink
Fix GitHub Action workflow following pypa#247
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Dec 17, 2019
1 parent 41d2d0d commit cba1af9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -3,9 +3,11 @@ name: Test
on:
pull_request:
paths:
- '.github/workflows/*.yml'
- '**.py'
push:
paths:
- '.github/workflows/*.yml'
- '**.py'

jobs:
Expand All @@ -30,7 +32,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install coverage<5.0.0 pretend pytest
python -m pip install 'coverage<5.0.0' pretend pytest
- name: Test coverage
run: |
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
# pytest >= 5.0.0 fails with pypy3 https://github.com/pytest-dev/pytest/issues/5807
run: |
python -m pip install --upgrade pip
python -m pip install coverage<5.0.0 pretend pytest==4.6.5
python -m pip install 'coverage<5.0.0' pretend pytest==4.6.5
- name: Test coverage
run: |
Expand Down

0 comments on commit cba1af9

Please sign in to comment.