-
Notifications
You must be signed in to change notification settings - Fork 69
41 lines (35 loc) · 996 Bytes
/
ci.yml
File metadata and controls
41 lines (35 loc) · 996 Bytes
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
name: ci
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: '30 2 * * *'
permissions:
contents: read
actions: write # to cancel previous workflows
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: "Pytest ${{ matrix.python-version }} on ${{ matrix.os }} jax=${{ matrix.jax-version}}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
os: [ubuntu-latest]
jax-version: ["newest"]
include:
- python-version: "3.13"
os: "ubuntu-latest"
jax-version: "nightly"
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5.3.0
with:
python-version: "${{ matrix.python-version }}"
- name: Run CI tests
run: JAX_VERSION="${{ matrix.jax-version }}" bash test.sh
shell: bash