Skip to content

Commit

Permalink
Merge pull request #241 from ProjectTorreyPines/daily_manifest
Browse files Browse the repository at this point in the history
daily_manifest GH action
  • Loading branch information
orso82 authored Mar 7, 2023
2 parents 98625bf + e8a3155 commit 7a93d63
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: documentation
name: daily_documentation

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 2 * * *'
workflow_dispatch:
inputs:
debug:
type: boolean
required: false
default: false

env:
PTP_READ_TOKEN: ${{ secrets.PTP_READ_TOKEN }}



concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/daily_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
required: false
default: false

env:
PTP_READ_TOKEN: ${{ secrets.PTP_READ_TOKEN }}



concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/daily_manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: daily_manifest

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
debug:
type: boolean
required: false
default: false

env:
PTP_READ_TOKEN: ${{ secrets.PTP_READ_TOKEN }}



concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.x"
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
#============
- name: Check if fuse bot commit
run: |
author=$(git log -1 --pretty=format:'%an')
if [ "$author" = "fuse bot" ]; then
echo "Skipping action due to commit made by 'fuse bot'."
exit 78
fi
#============
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
- uses: julia-actions/cache@v1
- run: make install_ci
- uses: julia-actions/julia-buildpkg@v1
#============
- uses: julia-actions/julia-runtest@v1
- run: make manifest_ci_commit
#============
- name: Debug with tmate if failure + manual triggrer + debug mode
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 60
1 change: 0 additions & 1 deletion .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- ubuntu-latest
arch:
- x64

steps:
- uses: actions/checkout@v2
#============
Expand Down

0 comments on commit 7a93d63

Please sign in to comment.