feat(organizations): support many independent organizations per proce… #1
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
| name: Parity (fakecloud) | |
| # Runs the fakecloud-parity test suite against a local fakecloud process. | |
| # No AWS credentials are used here; this job is safe to run on every PR. | |
| # The companion workflow `parity-aws.yml` runs the same crate against real | |
| # AWS on a schedule. | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'crates/fakecloud-parity/**' | |
| - 'crates/fakecloud-testkit/**' | |
| - '.github/workflows/parity-fakecloud.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'crates/fakecloud-parity/**' | |
| - 'crates/fakecloud-testkit/**' | |
| - '.github/workflows/parity-fakecloud.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| fakecloud: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| - name: Build fakecloud binary | |
| run: cargo build --bin fakecloud | |
| - name: Run parity tests against local fakecloud | |
| env: | |
| FAKECLOUD_PARITY_BACKEND: fakecloud | |
| run: cargo test -p fakecloud-parity |