Skip to content

fix jax_bridge bug

fix jax_bridge bug #93

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.11'
- name: Install Julia packages
run: |
julia -e "using Pkg; Pkg.add([\"AbstractAlgebra\", \"PrecompileTools\", \"Combinatorics\", \"SparseArrays\", \"LinearAlgebra\", \"JSON\", \"IntegerSmithNormalForm\", \"Statistics\", \"Random\", \"Graphs\", \"SimpleWeightedGraphs\", \"DelaunayTriangulation\", \"PythonCall\"]); Pkg.precompile()"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test,all]
- name: Test with pytest
run: |
pytest tests/