Skip to content

Commit 29baa0e

Browse files
authored
Add Java 17 and 25 regrtest CI matrix (jython#433)
The intention is that these jobs be dispatched manually, since at first they will not pass, so we can see progress to Java 17 and 25 compatibility on demand.
1 parent bd77d04 commit 29baa0e

5 files changed

Lines changed: 54 additions & 9 deletions

File tree

.github/workflows/ant-javatest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
# Some tests require exactly-expected line endings
3030
- run: git config --global core.autocrlf input
3131

32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333

3434
- name: Set up JDK ${{ matrix.java }}
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@v5
3636
with:
3737
java-version: ${{ matrix.java }}
3838
distribution: 'temurin'

.github/workflows/ant-regrtest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
# Some tests require exactly-expected line endings
2525
- run: git config --global core.autocrlf input
2626

27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828

2929
- name: Set up JDK 8
30-
uses: actions/setup-java@v4
30+
uses: actions/setup-java@v5
3131
with:
3232
java-version: '8'
3333
distribution: 'temurin'
@@ -47,10 +47,10 @@ jobs:
4747
# Some tests require exactly-expected line endings
4848
- run: git config --global core.autocrlf input
4949

50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v6
5151

5252
- name: Set up JDK 11
53-
uses: actions/setup-java@v4
53+
uses: actions/setup-java@v5
5454
with:
5555
java-version: '11'
5656
distribution: 'temurin'

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
- run: pip install codespell
1919
- run: codespell --count --ignore-words=Misc/codespell/words.ignore
2020
NEWS README.md README.txt LICENSE.txt Misc/INDEX Misc/codespell/README
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Run ant regrtest on Jython 2.7 on Java versions (GitHub action)
2+
3+
# We expect this to fail (at the time of writing) and the purpose
4+
# is to tell us on which OSes and versions of Java that happens.
5+
6+
name: Java versions regrtest 2.7
7+
8+
# Only run manually as it takes quite a lot of cpu
9+
on:
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
17+
java-versions-regrtest:
18+
strategy:
19+
max-parallel: 2
20+
matrix:
21+
version: [17, 25]
22+
os: [ubuntu-latest, windows-latest]
23+
24+
runs-on: ${{ matrix.os }}
25+
timeout-minutes: 40
26+
continue-on-error: true
27+
28+
steps:
29+
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
30+
- run: echo "Java ${{ matrix.version }} on ${{ matrix.os }}."
31+
32+
# Some tests require exactly-expected line endings
33+
- run: git config --global core.autocrlf input
34+
35+
- uses: actions/checkout@v6
36+
37+
- name: Set up JDK
38+
uses: actions/setup-java@v5
39+
with:
40+
java-version: ${{ matrix.version }}
41+
distribution: 'temurin'
42+
43+
- name: Regression test with Ant
44+
run: ant -noinput -buildfile build.xml regrtest-ci
45+

.github/workflows/launcher-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
# Some tests require exactly-expected line endings
3030
- run: git config --global core.autocrlf input
3131

32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333

3434
- name: Set up JDK 11
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@v5
3636
with:
3737
java-version: '11'
3838
distribution: 'temurin'

0 commit comments

Comments
 (0)