-
Notifications
You must be signed in to change notification settings - Fork 20
43 lines (41 loc) · 1.19 KB
/
plugin_test.yaml
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
39
40
41
42
43
name: PluginsTest
on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/**'
- 'context/**'
- 'plugin/**'
- 'framework/**'
- 'functions/**'
- 'internal/**'
- 'runtime/**'
- 'test/**'
- 'go.mod'
jobs:
Plugin-SkyWalking:
name: Plugin With Apache SkyWalking - ${{matrix.case.name}}
runs-on: ubuntu-latest
strategy:
matrix:
case:
- name: Sync Request
e2e: "plugin/skywalking/test/sync-request/e2e.yaml"
env: compose
- name: Binding Event
e2e: "plugin/skywalking/test/binding-event/e2e.yaml"
env: kind
- name: Topic Event
e2e: "plugin/skywalking/test/topic-event/e2e.yaml"
env: kind
steps:
- uses: actions/checkout@v2
- uses: apache/skywalking-infra-e2e@main
with:
e2e-file: ${{matrix.case.e2e}}
- name: Show Container Logs
if: ${{ failure() }} && matrix.case.e2e == 'compose'
run: docker ps -a | grep -v CONTAINER | awk '{print $1}' | xargs -i docker logs {}
- name: Cleanup
if: ${{ failure() }}
run: e2e cleanup -c ${{matrix.case.e2e}}