Skip to content

Commit

Permalink
Merge pull request #4 from mgedmin/fix-pypy-on-gha
Browse files Browse the repository at this point in the history
Fix pypy on GHA
  • Loading branch information
mgedmin committed Dec 11, 2022
2 parents 8f37a7f + 02ec0ef commit 87c0441
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,20 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.7"
- "pypy2.7"
- "pypy3.7"

steps:
- name: Git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"

- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
Expand All @@ -61,7 +62,7 @@ jobs:

- name: Report to coveralls
run: coveralls
if: "matrix.python-version != '2.7' && matrix.python-version != 'pypy2'"
if: "matrix.python-version != '2.7' && matrix.python-version != 'pypy2.7'"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
Expand All @@ -80,15 +81,15 @@ jobs:

steps:
- name: Git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python ${{ env.default_python || '3.9' }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ env.default_python || '3.9' }}"

- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.toxenv }}-${{ hashFiles('tox.ini') }}
Expand Down

0 comments on commit 87c0441

Please sign in to comment.