Skip to content

Commit a37ba3d

Browse files
ci: test with python3.14t
Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
1 parent 5783d27 commit a37ba3d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- main
1010
tags:
1111
- '*'
12+
workflow_dispatch:
1213

1314
jobs:
1415
julia:
@@ -66,6 +67,43 @@ jobs:
6667
env:
6768
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6869

70+
julia-ft:
71+
name: Julia (1, ubuntu-latest, python3.14t)
72+
runs-on: ubuntu-latest
73+
74+
steps:
75+
- uses: actions/checkout@v6
76+
77+
- name: Set up Julia 1
78+
uses: julia-actions/setup-julia@v2
79+
with:
80+
version: '1'
81+
arch: x64
82+
83+
- uses: julia-actions/cache@v2
84+
85+
- name: Set up micromamba (python3.14t)
86+
id: micromamba
87+
uses: mamba-org/setup-micromamba@v2
88+
with:
89+
environment-name: py314t
90+
create-args: >-
91+
-c conda-forge python=3.14.*=*cp314t*
92+
cache-environment: true
93+
94+
- name: Build package
95+
uses: julia-actions/julia-buildpkg@v1
96+
env:
97+
PYTHON: ${{ steps.micromamba.outputs.environment-path }}/bin/python
98+
99+
- name: Run tests
100+
uses: julia-actions/julia-runtest@v1
101+
env:
102+
JULIA_DEBUG: PythonCall
103+
JULIA_NUM_THREADS: '2'
104+
PYTHON: ${{ steps.micromamba.outputs.environment-path }}/bin/python
105+
JULIA_PYTHONCALL_EXE: ${{ steps.micromamba.outputs.environment-path }}/bin/python
106+
69107
python:
70108
name: Python (${{ matrix.pyversion }}, ${{ matrix.os }}, ${{ matrix.juliaexe }})
71109
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)