Skip to content

Commit fc2f765

Browse files
committed
perf test report
1 parent 9fbb4f3 commit fc2f765

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/conformance-test.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
go install sigs.k8s.io/[email protected]
3434
35-
e2e-test:
35+
conformance-test:
3636
needs:
3737
- prepare
3838
runs-on: buildjet-2vcpu-ubuntu-2204
@@ -85,11 +85,29 @@ jobs:
8585
shell: bash
8686
env:
8787
API7_EE_LICENSE: ${{ secrets.API7_EE_LICENSE }}
88+
continue-on-error: true
8889
run: |
8990
make conformance-test
90-
91+
9192
- name: Upload Gateway API Conformance Report
93+
if: ${{ github.event_name == 'push' }}
9294
uses: actions/upload-artifact@v4
9395
with:
9496
name: api7-ingress-controller-conformance-report.yaml
9597
path: api7-ingress-controller-conformance-report.yaml
98+
99+
- name: Format Conformance Test Report
100+
if: ${{ github.event_name == 'pull_request' }}
101+
run: |
102+
echo '# conformance test report' > report.md
103+
echo '```yaml' >> report.md
104+
cat api7-ingress-controller-conformance-report.yaml >> report.md
105+
echo '```' >> report.md
106+
107+
- name: Report Conformance Test Result to PR Comment
108+
if: ${{ github.event_name == 'pull_request' }}
109+
uses: mshick/add-pr-comment@v2
110+
with:
111+
message-id: '${{ matrix.target }}'
112+
message-path: |
113+
report.md

0 commit comments

Comments
 (0)