Test pypy3.6-v7.2.0 on Windows

This commit is contained in:
hugovk 2019-10-14 23:22:21 +03:00
parent 7068225b23
commit dcb732d110
2 changed files with 10 additions and 11 deletions

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: windows-2016 runs-on: windows-2016
strategy: strategy:
fail-fast: false fail-fast: false
@ -19,16 +19,15 @@ jobs:
platform-vcvars: "x86_amd64" platform-vcvars: "x86_amd64"
platform-msbuild: "x64" platform-msbuild: "x64"
- python-version: "pypy3.6" - python-version: "pypy3.6"
pypy-version: "pypy-c-jit-97588-7392d01b93d0-win32" pypy-version: "pypy3.6-v7.2.0-win32"
pypy-url: "http://buildbot.pypy.org/nightly/py3.6/pypy-c-jit-97588-7392d01b93d0-win32.zip" pypy-url: "https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.2.0-win32.zip"
# pypy-url: "https://bitbucket.org/pypy/pypy/downloads/${{ matrix.pypy-version }}.zip"
exclude: exclude:
- python-version: "pypy3.6" - python-version: "pypy3.6"
architecture: "x64" architecture: "x64"
timeout-minutes: 30 timeout-minutes: 30
name: Python ${{ matrix.python-version }} ${{ matrix.architecture }} name: Python ${{ matrix.python-version }} ${{ matrix.architecture }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -59,7 +58,7 @@ jobs:
run: | run: |
"%pythonLocation%\python.exe" -m pip install wheel pytest pytest-cov "%pythonLocation%\python.exe" -m pip install wheel pytest pytest-cov
pip install codecov pip install codecov
- name: Fetch dependencies - name: Fetch dependencies
run: | run: |
curl -fsSL -o nasm.zip https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-win64.zip curl -fsSL -o nasm.zip https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-win64.zip
@ -324,7 +323,7 @@ jobs:
rem Add GhostScript and Raqm binaries (copied to INCLIB) to PATH. rem Add GhostScript and Raqm binaries (copied to INCLIB) to PATH.
path %INCLIB%;%PATH% path %INCLIB%;%PATH%
%PYTHON%\python.exe selftest.py --installed %PYTHON%\python.exe selftest.py --installed
- name: Test Pillow - name: Test Pillow
run: | run: |
set PYTHON=%pythonLocation% set PYTHON=%pythonLocation%
@ -333,7 +332,7 @@ jobs:
path %INCLIB%;%PATH% path %INCLIB%;%PATH%
cd /D %GITHUB_WORKSPACE% cd /D %GITHUB_WORKSPACE%
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov-report term --cov-report xml Tests %PYTHON%\python.exe -m pytest -vx --cov PIL --cov-report term --cov-report xml Tests
- name: Upload coverage - name: Upload coverage
run: 'codecov --file "%GITHUB_WORKSPACE%\coverage.xml" --name "%pythonLocation%"' run: 'codecov --file "%GITHUB_WORKSPACE%\coverage.xml" --name "%pythonLocation%"'

View File

@ -1,3 +1,3 @@
curl -fsSL -o pypy3.zip http://buildbot.pypy.org/nightly/py3.6/pypy-c-jit-97588-7392d01b93d0-win32.zip curl -fsSL -o pypy3.zip https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.2.0-win32.zip
7z x pypy3.zip -oc:\ 7z x pypy3.zip -oc:\
c:\Python37\Scripts\virtualenv.exe -p c:\pypy-c-jit-97588-7392d01b93d0-win32\pypy3.exe c:\vp\pypy3 c:\Python37\Scripts\virtualenv.exe -p c:\pypy3.6-v7.2.0-win32\pypy3.exe c:\vp\pypy3