Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/gateway-conformance
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 00de7e300e8ca1e7431d184bae7c4b32edfc8217
Choose a base ref
..
head repository: ipfs/gateway-conformance
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 07a5a329bcc04ef2239b3135dab35f38045f0e4f
Choose a head ref
Showing with 26 additions and 2 deletions.
  1. +26 −2 .github/workflows/test-kubo-e2e.yml
28 changes: 26 additions & 2 deletions .github/workflows/test-kubo-e2e.yml
Original file line number Diff line number Diff line change
@@ -68,11 +68,35 @@ jobs:
xml: output.xml
html: output.html
markdown: output.md
accept-test-failure: true
- name: Set summary
if: (failure() || success())
run: cat ./output.md >> $GITHUB_STEP_SUMMARY
- name: Prepare Comment
if: github.event.pull_request
env:
TARGET: ${{ matrix.target }}
run: |
echo "Results against Kubo ${{ matrix.target }}:" > comment.md
echo "(check the action's summary for the full results)" >> comment.md
# Strip everything after the results table
cat output.md | sed '/Failures\/Errors/,$d' >> comment.md
- name: Find latest comment
id: find-comment
if: github.event.pull_request
uses: peter-evans/find-comment@a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 # v2.4.0
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: "Results against Kubo ${{ matrix.target }}"
- name: Create comment
if: github.event.pull_request
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
with:
issue-number: ${{ github.event.pull_request.number }}
comment-id: ${{ steps.find-comment.outputs.comment-id }}
edit-mode: replace
body-path: comment.md
- name: Upload one-page HTML report
if: (failure() || success())
uses: actions/upload-artifact@v3
with:
name: conformance-${{ matrix.target }}.html