Skip to content

Commit

Permalink
testing the book
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 18, 2025
1 parent b8910ff commit 8b93360
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
working-directory: template
workflow: ci.yml

- name: Test book flow
uses: cvxgrp/cradle/actions/flow@main
with:
working-directory: template
workflow: book.yml

#- name: Run the pre-commit flow
# id: flow_pre_commit
# shell: bash
Expand Down
26 changes: 9 additions & 17 deletions template/.github/workflows/book.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,29 @@ on:
- push


permissions:
checks: write
contents: read

jobs:

marimo:
permissions:
checks: write
contents: write

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/marimo@v2.0.5
- uses: cvxgrp/.github/actions/uv/marimo@v2.0.6
with:
source_folder: book/marimo

pdoc:
permissions:
checks: write
contents: write

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/pdoc@v2.0.5
- uses: cvxgrp/.github/actions/uv/pdoc@v2.0.6
with:
source-folder: src/{{ project_name }}

Expand All @@ -41,22 +37,18 @@ jobs:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/coverage@v2.0.5
- uses: cvxgrp/.github/actions/uv/coverage@v2.0.6
with:
tests-folder: src/tests
source-folder: src/{{ project_name }}

jupyter:
permissions:
checks: write
contents: write

runs-on: "ubuntu-latest"
steps:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/uv/jupyter@v2.0.5
- uses: cvxgrp/.github/actions/uv/jupyter@v2.0.6

book:
runs-on: "ubuntu-latest"
Expand All @@ -69,4 +61,4 @@ jobs:
- name: Checkout [${% raw %}{{ github.repository }}{% endraw %}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/book@v2.0.5
- uses: cvxgrp/.github/actions/book@v2.0.6

0 comments on commit 8b93360

Please sign in to comment.