Daily tests #205
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 * * *' # 7 am EST every day | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| DailyTests: | |
| uses: ./.github/workflows/testing.yml | |
| with: | |
| pytest_markexpr: 'not remote' | |
| os_list: '["windows-2022","windows-latest","macos-15-intel","macos-latest","ubuntu-latest"]' | |
| python_list: '["3.10","3.11","3.12","3.13","3.14"]' | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| 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: cody.c.baker.phd@gmail.com # Add more with comma separation (no spaces) | |
| from: nwb2bids | |
| body: "The daily test workflow failed, please check status at https://github.com/con/nwb2bids/actions/workflows/daily_tests.yml" |