Skip to content

Commit

Permalink
Add examples as a run CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dirmeier committed Aug 17, 2024
1 parent 70b5b34 commit e9a535d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
branches: [ main ]

jobs:
precommit:
name: Pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

examples:
runs-on: ubuntu-latest
needs:
Expand All @@ -27,7 +33,7 @@ jobs:
run: |
pip install jaxlib jax
pip install .
- name: Run examples
- name: Run tests
run: |
python examples/autoregressive_inference_surjection.py --n-iter 10
python examples/conditional_density_estimation.py --n-iter 10 --model coupling
Expand Down

0 comments on commit e9a535d

Please sign in to comment.