Daily tests #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |