Skip to content

Commit

Permalink
Update pytest.yml pypy with env var
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Nov 26, 2023
1 parent 89467c1 commit 0ebf6be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
python-version:
- '3.8'
- '3.10'
- '3.11'
#- '3.11'
- '3.12'
- 'pypy3.10'
fail-fast: true

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -61,6 +62,9 @@ jobs:
- name: Set number of cores for compilation
run: |
echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
- if: startsWith(${{ matrix.python-version }}, 'pypy')
run: |
echo "PYTHON=pypy3" >> $GITHUB_ENV
- name: Build
run: .github/workflows/build_${{ matrix.os }}.sh $HOME/install
Expand Down

0 comments on commit 0ebf6be

Please sign in to comment.