Skip to content

ci testing for demos #15

ci testing for demos

ci testing for demos #15

Workflow file for this run

name: test-demos
on: [push, pull_request, workflow_dispatch]
jobs:
Ubuntu:
runs-on: ubuntu-20.04
steps:
- name: Checkout Demos🛎
uses: actions/checkout@v3
with:
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 100
- name: run demo testing
id: tests
run: |
cd demos
mkdir .ivy
touch .ivy/key.pem
echo -n ${{ secrets.USER_API_KEY }} > .ivy/key.pem
docker run -v `pwd`:/ivy/demos unifyai/ivy:latest demos/tests/test_demos.sh
- name: Check on failures
if: steps.tests.outcome != 'success'
run: exit 1