Skip to content

Commit

Permalink
use constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
skarimo committed Aug 1, 2023
1 parent 5ca8b0c commit df2006e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
python-version: ['pypy2.7', '3.7', 'pypy3.8']
# os: [ubuntu-latest, windows-latest, macos-latest]
# python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy-2.7', 'pypy-3.8']

env:
TOXENV: ${{ matrix.python-version }}

Expand All @@ -63,8 +62,11 @@ jobs:
- name: Install tox
run: pip install tox

- name: Install tox
run: pip install tox
- name: Set constrains for python2.7
if: ${{ matrix.os == 'pypy2.7' }}
run: |
echo "cython<3" > constaints.txt
echo "PIP_CONSTRAINT=constraints.txt" >> $GITHUB_ENV
- name: Run unit tests
run: tox
Expand Down

0 comments on commit df2006e

Please sign in to comment.