Skip to content

Daily tests

Daily tests #31

Workflow file for this run

name: Daily tests
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
jobs:
tests:
uses: ./.github/workflows/test.yml
secrets: inherit
permissions:
contents: read
notify-on-failure:
runs-on: ubuntu-latest
needs: [tests]
if: failure()
permissions: {}
steps:
- uses: dawidd6/action-send-mail@v17
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: "CI Failure: `usage-page` Daily tests"
to: cody.c.baker.phd@gmail.com
from: usage-page
body: |
The daily test run for the usage-page repository has failed.
Tests: ${{ needs.tests.result }}
Please review the workflow run at https://github.com/dandi/usage-page/actions/workflows/daily-tests.yml