fix context logic #115
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: 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}} |