Skip to content

Commit

Permalink
Merge pull request #22 from CristianLara/rename-make-run-tutorials
Browse files Browse the repository at this point in the history
[Tutorials] Simplify and rename make_tutorials.py to run_tutorials.y
  • Loading branch information
CristianLara authored Nov 25, 2024
2 parents 8e6fc2a + 1e667a2 commit c31c4af
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 284 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Convert Tutorials
- name: Run Tutorials
run: |
pip install -e ".[tutorial]"
python3 scripts/convert_ipynb_to_mdx.py
python scripts/run_tutorials.py -w $(pwd)
- name: Convert Tutorials
run: |
python3 scripts/convert_ipynb_to_mdx.py --clean
- name: Create new version in Docusaurus
id: create-version
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/reusable_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ jobs:
pip install -e ".[tutorial]"
- if: ${{ inputs.smoke_test }}
name: Build tutorials with smoke test
name: Run tutorials with smoke test
run: |
python scripts/make_tutorials.py -w $(pwd) -e -s
python scripts/run_tutorials.py -w $(pwd) -s
- if: ${{ !inputs.smoke_test }}
name: Build tutorials without smoke test
name: Run tutorials without smoke test
run: |
python scripts/make_tutorials.py -w $(pwd) -e
python scripts/run_tutorials.py -w $(pwd)
- name: Build tutorials
run : |
python scripts/convert_ipynb_to_mdx.py --clean
277 changes: 0 additions & 277 deletions scripts/make_tutorials.py

This file was deleted.

Loading

0 comments on commit c31c4af

Please sign in to comment.