Skip to content

Deploy daily tests

Deploy daily tests #10

Workflow file for this run

name: Deploy daily tests
on:
schedule:
- cron: "0 6 * * *" # Daily at 2am EST
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
DailyTests:
uses: ./.github/workflows/testing.yml
secrets:
CODECOV_CREDENTIALS: ${{ secrets.CODECOV_CREDENTIALS }}
NotifyOnFailure:
runs-on: ubuntu-latest
needs: [ DailyTests ]
if: ${{ always() && needs.DailyTests.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: "CI Failure: nwb2bids Daily Tests"
to: [email protected] # Add more with comma separation (no spaces)
from: s3-log-extraction
body: "The daily test workflow failed, please check status at https://github.com/dandi/s3-log-extraction/actions/workflows/dailies.yml"
# LiveServices:
# uses: ./.github/workflows/testing_live_services.yml
# secrets:
# IP_HASH_SALT: ${{ secrets.IP_HASH_SALT }}
# IPINFO_API_KEY: ${{ secrets.IPINFO_API_KEY }}
# CODECOV_CREDENTIALS: ${{ secrets.CODECOV_CREDENTIALS }}