Skip to content

ENH update to latest JAX version and slight refactor in test suite #555

ENH update to latest JAX version and slight refactor in test suite

ENH update to latest JAX version and slight refactor in test suite #555

Workflow file for this run

name: Python package
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pre-commit
python -m pip install .
- name: Run pre-commit
run: |
pre-commit run --all-files --show-diff-on-failure
- name: Test with pytest
run: |
git submodule update --init --recursive
pytest -v --durations=0