Skip to content

Commit

Permalink
Update book.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Feb 6, 2025
1 parent f0a64c7 commit c19021a
Showing 1 changed file with 20 additions and 34 deletions.
54 changes: 20 additions & 34 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,33 @@
name: "book"
name: CI

on:
- push
push:

jobs:
marimo:
runs-on: "ubuntu-latest"
setup:
strategy:
matrix:
job:
- type: marimo
action: marimo
- type: pdoc
action: pdoc
- type: test
action: coverage
- type: jupyter
action: jupyter

runs-on: ubuntu-latest
steps:
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/environment@v2.2.1

- uses: cvxgrp/.github/actions/marimo@v2.1.2

pdoc:
runs-on: "ubuntu-latest"
steps:
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/environment@v2.2.1

- uses: cvxgrp/.github/actions/pdoc@v2.1.2

test:
runs-on: "ubuntu-latest"
steps:
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/environment@v2.2.1

- uses: cvxgrp/.github/actions/coverage@v2.1.2

jupyter:
runs-on: "ubuntu-latest"
steps:
- name: "Build the virtual environment for ${{ github.repository }}"
uses: cvxgrp/.github/actions/environment@v2.2.1

- uses: cvxgrp/.github/actions/jupyter@v2.1.2
- uses: cvxgrp/.github/actions/{{ matrix.job.action }}@v2.1.2

book:
runs-on: "ubuntu-latest"
needs: [test, pdoc, jupyter, marimo]

runs-on: ubuntu-latest
needs: [setup]
permissions:
contents: write

steps:
- uses: cvxgrp/.github/actions/book@v2.1.2

0 comments on commit c19021a

Please sign in to comment.