@@ -12,18 +12,20 @@ jobs:
12
12
- ' 3.11'
13
13
- ' 3.12'
14
14
- ' 3.13'
15
- - ' pypy-3.9'
15
+ - ' 3.14'
16
+ - ' 3.14t'
17
+ - ' pypy-3.11'
16
18
java :
17
19
- ' 8'
18
20
- ' 11'
19
21
- ' 23'
20
22
os :
21
- # macos-latest (ATM macos-14 ) runs on Apple Silicon,
22
- # macos-13 runs on Intel
23
+ # macos-latest (ATM macos-15 ) runs on Apple Silicon,
24
+ # macos-15-intel runs on Intel
23
25
- ' ubuntu-latest'
24
26
- ' windows-latest'
25
27
- ' macos-latest'
26
- - ' macos-13 '
28
+ - ' macos-15-intel '
27
29
architecture :
28
30
- ' x64'
29
31
- ' x86'
36
38
architecture : aarch64
37
39
- os : ubuntu-latest
38
40
architecture : x86
39
- - os : macos-13
41
+ - os : macos-15-intel
40
42
architecture : aarch64
41
- - os : macos-13
43
+ - os : macos-15-intel
42
44
architecture : x86
43
45
- os : macos-latest
44
46
architecture : aarch64
49
51
architecture : x86
50
52
- os : windows-latest
51
53
architecture : x86
52
- python : ' pypy-3.9 '
54
+ python : ' pypy-3.11 '
53
55
- os : windows-latest
54
56
architecture : x86
55
57
java : ' 20'
@@ -67,21 +69,22 @@ jobs:
67
69
steps :
68
70
- uses : actions/checkout@master
69
71
70
- - name : Setup python
71
- uses : actions/setup-python@v5
72
+ - name : Setup Python ${{ matrix. python }}
73
+ uses : actions/setup-python@v6
72
74
with :
73
75
python-version : ${{ matrix.python }}
74
76
architecture : ${{ matrix.architecture == 'aarch64' && 'arm64' || matrix.architecture }}
77
+ allow-prereleases : true
75
78
76
- - name : Setup java
77
- uses : actions/setup-java@v4
79
+ - name : Setup Java ${{ matrix. java }}
80
+ uses : actions/setup-java@v5
78
81
with :
79
82
java-version : ${{ matrix.java }}
80
83
distribution : ' temurin'
81
84
architecture : ${{ matrix.architecture }}
82
85
83
86
- name : (macOS) Setup test dependencies
84
- if : matrix .os == 'macos-latest' || matrix.os == 'macos-13 '
87
+ if : runner .os == 'macOS '
85
88
run : brew install ant
86
89
87
90
- name : Build test classes via ant
@@ -92,15 +95,15 @@ jobs:
92
95
pip install --timeout=120 .[dev,ci]
93
96
94
97
- name : (Windows) Test pyjnius via pytest
95
- if : matrix .os == 'windows-latest '
98
+ if : runner .os == 'Windows '
96
99
run : |
97
100
$env:PATH +=";$env:JAVA_HOME\jre\bin\server\;$env:JAVA_HOME\jre\bin\client\;$env:JAVA_HOME\bin\server\"
98
101
$env:CLASSPATH ="../build/test-classes;../build/classes"
99
102
cd tests
100
103
pytest -v
101
104
102
105
- name : (Linux, macOS) Test pyjnius via pytest
103
- if : (matrix .os == 'ubuntu-latest') || (matrix.os == 'macos-latest') || (matrix.os == 'macos-13')
106
+ if : runner .os != 'Windows'
104
107
run : |
105
108
cd tests
106
109
CLASSPATH=../build/test-classes:../build/classes python -m pytest -v
0 commit comments