Skip to content

Commit

Permalink
filters results 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MLenterman authored Dec 19, 2024
1 parent 061eecd commit b430a71
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/run-larva-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,18 @@ jobs:
exit 1
fi
- name: Filter Result
shell: bash
run: |
apt-get update -qq
apt-get install -y libxml2-utils
xmllint --html -xpath "/html/body/div" results.html > results.html
- name: Generate Result in Markdown
uses: docker://pandoc/core:3.5
if: ${{ always() }}
with:
args: -s results.html --from html --to gfm --standalone | xmllint --html -xpath "html/body/div" > results.html
args: -s results.html --from html -o results.md --to gfm --standalone

- name: Add Larva Result To GitHub Actions Summary
shell: bash
Expand Down

0 comments on commit b430a71

Please sign in to comment.