-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (33 loc) · 1.38 KB
/
dailies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Daily workflows
on:
workflow_dispatch:
schedule:
- cron: "0 14 * * *" # Daily at 10am EST
jobs:
run-daily-tests:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/testing.yml@dev
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run-daily-doc-link-checks:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/doc-link-checks.yml@dev
test-dandi-latest:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/dandi-release.yml@dev
test-dandi-dev:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/dandi-dev.yml@dev
test-dandi-dev-live:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/dandi-dev-live-services.yml@dev
notify:
runs-on: ubuntu-latest
needs: [run-daily-tests, run-daily-doc-link-checks, test-dandi-latest, test-dandi-dev, test-dandi-dev-live]
if: failure()
steps:
- uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465 # TSL
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: NWB Inspector Daily Failure
from: NWB Inspector
body: "The daily workflow for the NWB Inspector failed: please check status at https://github.com/NeurodataWithoutBorders/nwbinspector/actions/workflows/dailies.yml"