forked from open-telemetry/opentelemetry-dotnet-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 1.19 KB
/
integration.yml
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
name: Integration Build OpenTelemetry.Instrumentation.StackExchangeRedis
on:
workflow_call:
inputs:
job:
required: true
type: string
jobs:
redis-integration-test:
if: inputs.job == 'all' || inputs.job == 'redis-integration-test'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [net6.0, net7.0, net8.0]
steps:
- uses: actions/checkout@v4
- name: Run redis docker-compose
run: docker-compose --file=test/OpenTelemetry.Instrumentation.StackExchangeRedis.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build
kafka-integration-test:
if: inputs.job == 'all' || inputs.job == 'kafka-integration-test'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [net6.0, net7.0, net8.0]
steps:
- uses: actions/checkout@v4
- name: Run kafka docker-compose
run: docker-compose --file=test/OpenTelemetry.Instrumentation.ConfluentKafka.Tests/docker-compose.yml --file=build/docker-compose.${{ matrix.version }}.yml --project-directory=. up --exit-code-from=tests --build