Skip to content

Commit

Permalink
Merge pull request #491 from skirpichev/fix-msys2-install
Browse files Browse the repository at this point in the history
Fix CI tests on windows-latest
  • Loading branch information
casevh authored Jul 10, 2024
2 parents 3e4564a + 8c0d52e commit fe17d8b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/pip_install_gmpy2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
os: [windows-2022]
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -103,7 +103,11 @@ jobs:
mpc-devel
python-setuptools
python-pip
- run: pip install --upgrade pip
- run: pip --verbose install -e .[tests]
- run: pytest test/
- run: PYTHONPATH=`pwd`/gmpy2 python test_cython/runtests.py
- name: Build and run tests in venv
run: |
python -m venv .test-venv
source .test-venv/bin/activate
pip install --upgrade pip
pip --verbose install -e .[tests]
pytest test/
PYTHONPATH=`pwd`/gmpy2 python test_cython/runtests.py

0 comments on commit fe17d8b

Please sign in to comment.