Skip to content

Commit

Permalink
add cron job schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Jan 15, 2025
1 parent 26752ba commit 9b09f03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dolfinx-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
description: "UFL branch or tag"
default: "main"
type: string
# Weekly build on Mondays at 8 am
schedule:
- cron: "0 8 * * 1"

jobs:
build:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
- main
workflow_dispatch:

# Weekly build on Mondays at 8 am
schedule:
- cron: "0 8 * * 1"

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -54,8 +58,7 @@ jobs:
- name: Install dependencies (non-Python, Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y graphviz libgraphviz-dev ninja-build pkg-config libblas-dev \
liblapack-dev
sudo apt-get install -y graphviz libgraphviz-dev ninja-build pkg-config libblas-dev liblapack-dev
- name: Install dependencies (non-Python, macOS)
if: runner.os == 'macOS'
run: brew install ninja
Expand Down

0 comments on commit 9b09f03

Please sign in to comment.