sequential execution of jobs #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-basics | ||
on: | ||
push: | ||
branches: | ||
- ci-testing | ||
- main | ||
- release/* #ToDo: add a release branch | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
platform: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Build Ivy | ||
run: | | ||
echo "ToDo: add docker builds for different platforms/hardware targets" | ||
run-tests: | ||
needs: build | ||
Check failure on line 27 in .github/workflows/test_basics.yml GitHub Actions / test-basicsInvalid workflow file
|
||
runs-on: ubuntu-latest #ToDo: ${{ needs.build.outputs.os }} | ||
strategy: | ||
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: 100 | ||
- name: Run Demo Testing | ||
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" | ||
results: | ||
needs: tests | ||
runs-on: ubuntu-latest #ToDo: ${{ needs.build.outputs.os }} | ||
steps: | ||
- name: Check on failures | ||
if: needs.tests.outputs.outcome!= 'success' | ||
run: exit 1 | ||