Skip to content

CI: Use kornia/workflows #398

CI: Use kornia/workflows

CI: Use kornia/workflows #398

Workflow file for this run

name: Tutorials
on:
workflow_dispatch:
push:
branches: [master, test-me-*]
pull_request:
schedule:
- cron: "0 4 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
kornia-ref: ['main'] # TODO: coverage check through multiple versions: , 'v0.7.1', 'v0.7.0']
uses: kornia/workflows/.github/workflows/[email protected]
with:
ref: ${{ matrix.kornia-ref }}
build:
needs: test
name: Build tutorials
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: ['ubuntu']
kornia-ref: ['main']
steps:
- uses: kornia/workflows/.github/actions/[email protected]
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: make setup
- uses: quarto-dev/quarto-actions/setup@v2
working-directory: ./tutorials-repo/

Check failure on line 51 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Tutorials

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 51, Col: 7): Unexpected value 'working-directory' .github/workflows/build.yml (Line: 60, Col: 7): Unexpected value 'uses'
- 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
path: .