Debian Codegraph @

.github/workflows/check.yml

raw symbols SCIP
1 name: Check
2
3 on:
4 pull_request:
5 branches: [ 'master', 'release/v*' ]
6 push:
7 branches: [ 'master', 'release/v*' ]
8
9 jobs:
10 test:
11 runs-on: ubuntu-22.04
12 strategy:
13 matrix:
14 python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
15 java: ['11', '17', '21', '25']
16 steps:
17 - uses: actions/checkout@v6
18
19 - uses: actions/setup-python@v6
20 with:
21 python-version: ${{ matrix.python }}
22
23 - uses: actions/setup-java@v5
24 with:
25 distribution: 'temurin'
26 java-version: ${{ matrix.java }}
27
28 - run: pip install "setuptools < 72" numpy
29
30 - name: Run Test
31 run: python setup.py test
32
33 - name: Upload JVM Error Logs
34 uses: actions/upload-artifact@v7
35 if: failure()
36 with:
37 name: check-ci-jvm-err
38 path: |
39 **/*_pid*.log
40 **/core.*
41 if-no-files-found: ignore
42
43 test-free-threaded:
44 runs-on: ubuntu-22.04
45 strategy:
46 matrix:
47 python: ['3.13t', '3.14t']
48 java: ['11', '17', '21', '25']
49 steps:
50 - uses: actions/checkout@v6
51
52 - uses: actions/setup-python@v6
53 with:
54 python-version: ${{ matrix.python }}
55
56 - uses: actions/setup-java@v5
57 with:
58 distribution: 'temurin'
59 java-version: ${{ matrix.java }}
60
61
62 - run: pip install "setuptools < 72" numpy
63
64 - name: Run Free-threaded Test
65 run: python setup.py test
66
67 - name: Upload JVM Error Logs
68 uses: actions/upload-artifact@v7
69 if: failure()
70 with:
71 name: check-ci-jvm-err
72 path: |
73 **/*_pid*.log
74 **/core.*
75 if-no-files-found: ignore