-
Notifications
You must be signed in to change notification settings - Fork 12
65 lines (57 loc) · 2.47 KB
/
Copy pathdev-dailies.yml
File metadata and controls
65 lines (57 loc) · 2.47 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Daily dev workflows
on:
workflow_dispatch:
schedule:
- cron: "0 14 * * *" # Daily at 10am EST
jobs:
test-pynwb-dev:
uses: neurodatawithoutborders/nwbinspector/.github/workflows/pynwb-dev-tests.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-pynwb-dev-failure:
runs-on: ubuntu-latest
needs: [test-pynwb-dev]
if: ${{ always() && needs.test-pynwb-dev.result == 'failure' }}
steps:
- uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: NWB Inspector Daily Failure - pynwb dev branch
to: rly@lbl.gov
from: NWB Inspector
body: "The daily test against the pynwb dev branch failed: please check status at https://github.com/NeurodataWithoutBorders/nwbinspector/actions/workflows/dev-dailies.yml"
notify-dandi-dev-failure:
runs-on: ubuntu-latest
needs: [test-dandi-dev]
if: ${{ always() && needs.test-dandi-dev.result == 'failure' }}
steps:
- uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: NWB Inspector Daily Failure - DANDI dev branch (offline)
to: rly@lbl.gov
from: NWB Inspector
body: "The daily test against the DANDI dev branch (offline) failed: please check status at https://github.com/NeurodataWithoutBorders/nwbinspector/actions/workflows/dev-dailies.yml"
notify-dandi-dev-live-failure:
runs-on: ubuntu-latest
needs: [test-dandi-dev-live]
if: ${{ always() && needs.test-dandi-dev-live.result == 'failure' }}
steps:
- uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: NWB Inspector Daily Failure - DANDI dev branch (live services)
to: rly@lbl.gov
from: NWB Inspector
body: "The daily test against the DANDI dev branch with live services failed: please check status at https://github.com/NeurodataWithoutBorders/nwbinspector/actions/workflows/dev-dailies.yml"