Skip to content

Commit

Permalink
Update build tutorials CI
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 committed Jan 29, 2024
1 parent 85ade46 commit e9607e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,26 @@ jobs:
with:
ref: ${{ matrix.kornia-ref }}

- uses: actions/checkout@v4
with:
repository: 'kornia/tutorials'
path: 'tutorials-repo/'

- name: Install dependencies
working-directory: ./tutorials-repo/
shell: bash -l {0}
run: |
pip install -r requirements.txt --upgrade
pip install -r requirements-dev.txt --upgrade
run: make setup

- uses: quarto-dev/quarto-actions/setup@v2
working-directory: ./tutorials-repo/

- name: Check deps
working-directory: ./tutorials-repo/
shell: bash -l {0}
run: make check-deps

- name: Render Quarto Project
working-directory: ./tutorials-repo/
uses: quarto-dev/quarto-actions/render@v2
with:
to: html
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ setup-quarto:

setup:
pip install -r requirements.txt && pip install -r requirements-dev.txt;
make setup-quarto

preview:
quarto preview .
Expand Down

0 comments on commit e9607e4

Please sign in to comment.