test: add latency to avoid failure on watch multithreading test #407
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: macOS | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, next ] | |
schedule: | |
# At 23:00 on Thursday. | |
- cron: '0 23 * * 4' | |
env: | |
RUST_BACKTRACE: full | |
jobs: | |
build_test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [macos-13] | |
toolchain: [stable] | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- uses: extractions/setup-just@v2 | |
- uses: hustcer/[email protected] | |
with: | |
version: '0.85' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }} | |
- name: Just version | |
run: just --version | |
- name: Build | |
run: just build_all | |
- name: Test | |
run: just test_all |