CI Nightly #32
This file contains 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: CI Nightly | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '01 07 * * *' | |
env: | |
CI_HACKS: 1 | |
# BE CAREFUL IF EDITING THIS FILE: | |
# If you add/remove python tests from here, you should also update `check_pytests.py`’s list of GHA_TESTS | |
# so that it stays in-sync, to make sure no tests are lost. | |
jobs: | |
cargo_nextest: | |
name: "Cargo Nextest (${{matrix.name}})" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: MacOS | |
id: macos | |
os: macos-latest-xlarge | |
type: stable | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v4 | |
# Install all the required tools | |
- uses: taiki-e/install-action@9b5b983efc779f85e5e5d11539f005e85ccb27ff | |
with: | |
tool: just,cargo-nextest | |
# Run the tests: | |
- uses: mathiasvr/command-output@34408ea3d0528273faff3d9e201761ae96106cd0 | |
with: | |
run: just nextest-slow ${{ matrix.type }} | |
id: run_nextest | |
- name: Notify in Zulip about failures | |
uses: zulip/github-actions-zulip/send-message@08b6fbd07f5834e5b930a85bc7740e9fd44ab2e7 | |
if: always() && steps.run_nextest.conclusion == 'failure' | |
with: | |
api-key: ${{ secrets.ZULIP_API_KEY }} | |
email: "[email protected]" | |
organization-url: "https://near.zulipchat.com" | |
to: "nearone/private" | |
type: "stream" | |
topic: "GHA failures" | |
content: "Cargo Nextest ${{matrix.name}} [failed](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}): \n > ${{ steps.run_nextest.outputs.stderr }} " |