-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (31 loc) · 960 Bytes
/
Copy pathschema-registry-test.yml
File metadata and controls
38 lines (31 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Schema Registry E2E Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
schema-registry-e2e:
name: Schema Registry E2E
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Run Schema Registry E2E tests
working-directory: _example/schema_update
run: bash test_runner.sh
- name: Collect Docker logs on failure
if: failure()
working-directory: _example/schema_update
run: docker compose logs > docker-compose-logs.txt 2>&1 || true
- name: Upload Docker logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: schema-registry-e2e-logs
path: _example/schema_update/docker-compose-logs.txt
retention-days: 7