Merge pull request #134 from Kuadrant/fix-auth-timestamp #110
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: e2e tests | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
basic: | |
name: Basic integration test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --target wasm32-unknown-unknown | |
- name: Run docker compose | |
run: | | |
docker compose -f ./e2e/basic/docker-compose.yaml run start_services | |
- name: Execute tests in the running services | |
run: | | |
make -f ./e2e/basic/Makefile test | |
remote_address: | |
name: Remote address integration test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --target wasm32-unknown-unknown | |
- name: Run docker compose | |
run: | | |
docker compose -f ./e2e/remote-address/docker-compose.yaml run start_services | |
- name: Execute tests in the running services | |
run: | | |
make -f ./e2e/remote-address/Makefile test | |
missing-cluster: | |
name: Missing cluster integration test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --target wasm32-unknown-unknown | |
- name: Run docker compose | |
run: | | |
docker compose -f ./e2e/missing-cluster/docker-compose.yaml run start_services | |
- name: Execute tests in the running services | |
run: | | |
make -f ./e2e/missing-cluster/Makefile test | |
parallel-requests: | |
name: Parallel requests integration test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --target wasm32-unknown-unknown | |
- name: Run docker compose | |
run: | | |
docker compose -f ./e2e/parallel-requests/docker-compose.yaml run start_services | |
- name: Execute tests in the running services | |
run: | | |
make -f ./e2e/parallel-requests/Makefile test | |
unreachable-service: | |
name: Unreachable service integration test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --target wasm32-unknown-unknown | |
- name: Run docker compose | |
run: | | |
docker compose -f ./e2e/unreachable-service/docker-compose.yaml run start_services | |
- name: Execute tests in the running services | |
run: | | |
make -f ./e2e/unreachable-service/Makefile test |