-
Notifications
You must be signed in to change notification settings - Fork 61
38 lines (33 loc) · 1.05 KB
/
basics.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: test-basics
on:
push:
branches:
- main
- ci-testing
- release/* #ToDo: add a release branch
pull_request:
workflow_dispatch:
jobs:
Ubuntu:
runs-on: ubuntu-latest #ToDo: ${{ needs.build.outputs.os }}
strategy:
fail-fast: false
matrix:
modules: [01_write_ivy_code, 02_unify_code, 03_compile_code, 04_transpile_code, 05_lazy_vs_eager, 06_how_to_use_decorators, 07_transpile_any_library, 08_transpile_any_model, 09_write_a_model_using_ivy]
steps:
- name: Checkout Demos🛎
uses: actions/checkout@v2
with:
path: demos
persist-credentials: false
submodules: "recursive"
fetch-depth: 1
- name: Run Demo Testing
id: tests
run: |
cd demos
docker run -v `pwd`:/ivy/demos unifyai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} ${{ matrix.modules }}.ipynb "basics"
continue-on-error: true
- name: Check on failures
if: steps.tests.outcome!= 'success'
run: exit 1