Skip to content

Daily workflows

Daily workflows #257

Workflow file for this run

name: Daily workflows
on:
workflow_dispatch:
schedule:
- cron: "0 16 * * *" # Daily at noon EST
jobs:
run-daily-tests:
uses: catalystneuro/tqdm_publisher/.github/workflows/testing.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
notify:
runs-on: ubuntu-latest
needs: [run-daily-tests]
if: ${{ always() && contains(needs.*.result, '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: TQDM Publisher Daily Test Failure
to: [email protected],[email protected]
from: TQDM Publisher
body: "The daily workflow for TQDM Publisher failed: please check status at https://github.com/CatalystNeuro/tqdm_publisher/actions/workflows/dailies.yml"