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 8870852 commit 924d88a
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,50 @@
name: "book"

on:
- push
push

jobs:
marimo:
setup:
runs-on: "ubuntu-latest"
outputs:
environment_ready: ${{ steps.build.outputs.environment_ready }}
steps:
- name: "Build the virtual environment for ${{ github.repository }}"
id: build
uses: cvxgrp/.github/actions/environment@v2.2.1

- name: "Set up output"
id: set_output
run: echo "environment_ready=true" >> $GITHUB_OUTPUT

marimo:
runs-on: "ubuntu-latest"
needs: setup
steps:
- uses: cvxgrp/.github/actions/marimo@v2.2.1

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

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

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

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

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

- uses: cvxgrp/.github/actions/jupyter@v2.2.1

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

permissions:
contents: write

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

0 comments on commit 924d88a

Please sign in to comment.