no ironpython or jython run on PR
@@ -55,72 +55,3 @@ jobs:
with:
name: ${{ matrix.python-version }}-${{ matrix.os }}
if: always()
-
- test_using_jython:
- strategy:
- fail-fast: false
- matrix:
- java: [ '1.8' ]
- os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
- jython-version: [ '2.7.2' ]
- include:
- - os: windows-latest
- set_codepage: chcp 850
-
- runs-on: ${{ matrix.os }}
-
- name: Jython (Java ${{ matrix.java }}) ${{ matrix.jython-version }} on ${{ matrix.os }}
- steps:
- - uses: actions/checkout@v2
-
- - name: Setup Java ${{ matrix.java }}
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
- architecture: 'x64'
-
- - name: Install wget
- run: |
- choco install wget -y --no-progress
- if: runner.os == 'Windows'
-
- - name: Setup Jython ${{ matrix.jython-version }}
- run: |
- wget -nv "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/${{ matrix.jython-version }}/jython-installer-${{ matrix.jython-version }}.jar" -O jytinst.jar
- java -jar jytinst.jar -s -d jython/
-
- - name: Disable NTP on macOS (https://github.com/actions/virtual-environments/issues/820)
- run: |
- sudo systemsetup -setusingnetworktime off
- sudo rm -rf /etc/ntp.conf
- if: runner.os == 'macOS'
-
- - name: Run unit tests
- run: |
- ${{ matrix.set_codepage }}
- jython/bin/jython -m pip install -r utest/requirements.txt
- jython/bin/jython utest/run.py -v
-
- test_using_ironpython:
- strategy:
- fail-fast: false
- matrix:
- os: [ 'windows-latest' ]
- ironpython-version: [ '2.7.9' ]
-
- runs-on: ${{ matrix.os }}
-
- name: IronPython ${{ matrix.ironpython-version }} on ${{ matrix.os }}
- steps:
- - uses: actions/checkout@v2
-
- - name: Setup IronPython ${{ matrix.ironpython-version }}
- run: |
- choco install ironpython -y --no-progress --version ${{ matrix.ironpython-version }}
- ipy -m ensurepip --user
-
- - name: Run unit tests
- run: |
- chcp 850
- ipy -m pip install -r utest/requirements.txt
- ipy utest/run.py -v
