[Tech Debt] Remove the orchestrator and rewrite the examples #5498
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: Build and Test | |
on: | |
push: | |
branches: | |
- "develop" | |
- "main" | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 1" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
matrix: | |
test_suites: | |
- test-ci-1 | |
- test-ci-2 | |
- test-ci-3 | |
- test-ci-4 | |
- test-ci-5 | |
- test-ci-rest | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout Repository | |
- name: Install Rust | |
uses: mkroening/rust-toolchain-toml@main | |
- uses: Swatinem/rust-cache@v2 | |
name: Enable Rust Caching | |
with: | |
shared-key: "test" | |
cache-on-failure: "true" | |
save-if: ${{ github.ref == 'refs/heads/main' && matrix.test_suites == 'test-ci-rest' }} | |
- uses: taiki-e/install-action@just | |
- uses: taiki-e/install-action@nextest | |
- name: Unit and integration tests for all crates in workspace | |
run: | | |
just ${{ matrix.test_suites }} | |
timeout-minutes: 60 | |
env: | |
RUST_BACKTRACE: full | |