Skip to content

Commit

Permalink
run examples in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Marmaduke Woodman committed Apr 16, 2024
1 parent 170dbc0 commit 207f2d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: run pytests

on:
push:

jobs:
ubuntu-pip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup python
run: sudo apt-get update && sudo apt-get install -y python3-pip
- name: pip install jax
run: pip install -e .
- name: run examples
run: bash -c 'for f in $(ls examples); do python examples/$f; done'
1 change: 1 addition & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.jpg

0 comments on commit 207f2d5

Please sign in to comment.