Skip to content

Commit

Permalink
ci testing for all basics
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Aug 25, 2023
1 parent c8c1bbd commit fe2e97f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test_basics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
Ubuntu:
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 ]
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]

runs-on: ubuntu-20.04
steps:
Expand All @@ -19,7 +19,9 @@ jobs:

- name: Set Short Job Name
id: preprocess
run: echo "::set-output name=short_name::${{ matrix.modules/^[0-9]+_(.*)$/\1/ }}"
run: |
short_name="${{ matrix.modules/^[0-9]+_(.*)$/\1/ }}"
echo "::set-output name=short_name::$short_name"
- name: Run Demo Testing
id: tests
Expand All @@ -31,7 +33,6 @@ jobs:
if: steps.tests.outcome != 'success'
run: exit 1

# Construct the job name using the preprocessed short name
- name: Post-process Job Name
run:
echo "Job name: ${{ job.jobname }} / ${{ steps.preprocess.outputs.short_name }}"
run: |
echo "Job name: ${{ job.jobname }} / ${{ steps.preprocess.outputs.short_name }}"

0 comments on commit fe2e97f

Please sign in to comment.