Use different directories for cluster marker tests #3911
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 | |
on: | |
pull_request: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
rustfmt: | |
name: RustFmt Check | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: rustfmt | |
rustflags: "" | |
- name: Check license headers | |
run: ./tools/scripts/check-license-headers | |
- name: Rustfmt Check | |
uses: actions-rust-lang/rustfmt@v1 | |
build-and-test: | |
name: Build and test (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: read | |
packages: read | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
matrix: | |
#os: [ubuntu-22.04, macos-latest] # 1 macos-latest minute counts as 10 minutes --> quite expensive :-( | |
os: [ubuntu-22.04] | |
env: | |
RUST_BACKTRACE: full | |
steps: | |
- name: Install liburing | |
run: sudo apt-get install -y liburing-dev | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/clean-runner | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: clippy | |
rustflags: "" | |
- name: Install protoc | |
uses: ./.github/actions/install-protoc | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- name: Setup just | |
uses: extractions/setup-just@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Clippy Check | |
run: just clippy | |
- name: Run tests | |
run: just test | |
docker: | |
name: Create docker image | |
uses: ./.github/workflows/docker.yml | |
with: | |
uploadImageAsTarball: true | |
platforms: linux/amd64 | |
e2e: | |
name: Run e2e tests | |
permissions: | |
contents: read | |
issues: read | |
checks: write | |
pull-requests: write | |
actions: read | |
secrets: inherit | |
needs: docker | |
uses: restatedev/e2e/.github/workflows/e2e.yaml@main | |
with: | |
restateCommit: ${{ github.event.pull_request.head.sha || github.sha }} | |
e2eRef: main |