-
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.32 KB
/
run-jython-tests-lin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# https://search.maven.org/artifact/org.python/jython
# https://search.maven.org/artifact/org.python/jython-installer
# https://search.maven.org/artifact/org.python/jython-standalone
# https://search.maven.org/artifact/org.python/jython-slim
# https://sourceforge.net/projects/jython/files/jython/
# Workflow inspired by:
# https://github.com/jython/jython/blob/master/.github/workflows/launcher-test.yml
name: "Jython tests (Linux)"
run-name: "Run Jython tests on Linux"
on:
push:
pull_request:
jobs:
test:
name: "Test"
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
jython_version:
- "2.7.3"
- "2.7.2"
- "2.7.1"
- "2.7.0"
- "2.5.3"
- "2.5.2"
- "2.5.1"
- "2.5.0"
- "2.2.1"
- "2.2"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Install Jython ${{ matrix.jython_version }}
uses: LukeSavefrogs/setup-jython@v3
with:
jython-version: "${{ matrix.jython_version }}"
- name: Run Jython
# if: ${{ ! runner.os == 'Windows' }}
run: |
jython ./scripts/run_tests.py --verbose --pattern "*.py" --start-directory "./src/polyfills/"