Nightly #2313
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
| # Nightly test of the main branch. | |
| name: Nightly | |
| on: | |
| schedule: | |
| - cron: '0 7 * * *' # run at 7AM UTC | |
| jobs: | |
| # Run Python tests on Github runner | |
| tox_test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.13] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-environment # Path to your composite action | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| conda-python-version: '3.12' # Keep this specific if miniwdl needs 3.12 | |
| - name: Test with tox | |
| run: tox | |
| # Send Slack message on workflow failure | |
| - name: Slack Failure Notification | |
| if: failure() | |
| uses: rtCamp/action-slack-notify@v2.0.2 | |
| env: | |
| SLACK_COLOR: '#DF5A49' | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| SLACK_ICON: https://github.com/broadinstitute/long-read-pipelines/blob/main/.github/workflows/dnabad.png?raw=true | |
| SLACK_USERNAME: long-read-pipelines | |
| nightly_test: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| # Runs a set of commands using the runners shell | |
| - name: Continuous integration test suite | |
| run: | | |
| echo 'Test temporarily disabled.' | |
| # Send Slack message on workflow failure | |
| - name: Slack Failure Notification | |
| if: failure() | |
| uses: rtCamp/action-slack-notify@v2.0.2 | |
| env: | |
| SLACK_MESSAGE: 'Nightly test of the main branch failed.' | |
| SLACK_COLOR: '#DF5A49' | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| SLACK_ICON: https://github.com/broadinstitute/long-read-pipelines/blob/main/.github/workflows/dnabad.png?raw=true | |
| SLACK_USERNAME: long-read-pipelines | |
| # Send Slack message on workflow success | |
| - name: Slack Success Notification | |
| if: success() | |
| uses: rtCamp/action-slack-notify@v2.0.2 | |
| env: | |
| SLACK_MESSAGE: 'Nightly test of the main branch successful!' | |
| SLACK_COLOR: '#50D9C9' | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| SLACK_ICON: https://github.com/broadinstitute/long-read-pipelines/blob/main/.github/workflows/dnagood.png?raw=true | |
| SLACK_USERNAME: long-read-pipelines |