diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..19db384 --- /dev/null +++ b/.github/workflows/examples.yml @@ -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' diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..76ce7fc --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1 @@ +*.jpg