Scheduled checks #534
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
--- | |
on: | |
schedule: | |
- cron: '30 8 * * 1-5' | |
name: Scheduled checks | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: [ self-hosted, heavy ] | |
strategy: | |
fail-fast: false | |
matrix: | |
profile: [ mainnet, testnet, mainnet-silo, testnet-silo ] | |
steps: | |
- name: Potential broken submodules fix | |
run: | | |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | |
- name: Clone the repository | |
uses: actions/checkout@v4 | |
- name: Build actual neard-sandbox | |
run: scripts/build-neard-sandbox.sh ${{ matrix.profile }} | |
- name: Test ${{ matrix.profile }} | |
run: cargo make --profile ${{ matrix.profile }} test-flow | |
checks: | |
name: Run checks | |
runs-on: [ self-hosted, heavy ] | |
steps: | |
- name: Potential broken submodules fix | |
run: | | |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || : | |
- name: Clone the repository | |
uses: actions/checkout@v4 | |
- run: cargo make check |