Skip to content

ci

ci #2181

Workflow file for this run

name: ci
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: '30 2 * * *'
jobs:
build-and-test:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} jax=${{ matrix.jax-version}}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest]
jax-version: ["newest"]
include:
- python-version: "3.9"
os: "ubuntu-latest"
jax-version: "0.4.27" # Keep this in sync with version in pyproject.toml
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
cache: "pip"
cache-dependency-path: '**/requirements*.txt'
- name: Run CI tests
run: JAX_VERSION="${{ matrix.jax-version }}" bash test.sh
shell: bash