Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Release

on:
push:
branches:
- main
workflow_run:
workflows: ["CI"]
types: [completed]
branches: [main]

jobs:
release:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v4

Expand All @@ -25,11 +27,7 @@ jobs:
python-version: "3.11"
checkout: false
test-script: |
cp -r ${{ github.workspace }}/tests ./tests
cp ${{ github.workspace }}/pyproject.toml ./pyproject.toml
uv sync --dev --no-install-project --inexact
uv pip install jax[cpu]
JAX_PLATFORMS=cpu uv run --no-sync pytest tests/ -x --ignore=tests/test_module_params.py -o addopts=
python -c "import jaxdf; print(jaxdf.__version__)"
pypi-token: ${{ secrets.PYPI_TOKEN }}
github-user: ucl-bug
github-token: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_parameters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import jax
from jax import grad, jit, make_jaxpr
from jax import numpy as jnp
from plum.function import NotFoundLookupError
from plum import NotFoundLookupError
from pytest import mark, raises

from jaxdf import *
Expand Down
Loading