Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Aug 25, 2023
1 parent 86b4f07 commit a036ab8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 23 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
push:

jobs:
basic:
pre-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pre-commit/[email protected]
- uses: cvxgrp/.github/actions/test@main

test:
runs-on: ubuntu-latest

steps:
- uses: cvxgrp/.github/actions/test@main
18 changes: 1 addition & 17 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ jobs:
sphinx:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/sphinx@main

test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/test@main

jupyter:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/jupyter@main

book:
Expand All @@ -33,17 +30,4 @@ jobs:
contents: write

steps:

- name: Check out repository
uses: actions/checkout@v3

- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: .book

- name: GitHub Pages action
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: .book # The folder the action should deploy.
- uses: cvxgrp/.github/actions/book@main
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- uses: cvxgrp/.github/actions/test@main
with:
os: ${{ matrix.os }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/build@main

deploy:
Expand Down

0 comments on commit a036ab8

Please sign in to comment.