Update test-pipeline.yml

This commit is contained in:
Felix Weiß
2023-06-18 22:16:19 +02:00
committed by GitHub
parent e2f53f9c4a
commit c1678ae6b4

View File

@@ -54,7 +54,7 @@ jobs:
with:
reports: './MewtocolTests/TestResults/coverage.opencover.xml'
targetdir: './MewtocolTests/TestResults'
reporttypes: Html_Dark;HtmlInline;MarkdownSummaryGithub;Badges
reporttypes: HtmlSummary;MarkdownSummaryGithub;Badges
historydir: './MewtocolTests/Hist'
title: Report
@@ -62,10 +62,10 @@ jobs:
run: cat './MewtocolTests/TestResults/SummaryGithub.md' >> $GITHUB_STEP_SUMMARY
#Upload to codecov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
#- uses: actions/upload-artifact@v3
# with:
@@ -88,6 +88,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add "./MewtocolTests/TestResults/badge_combined.svg" -f
git add "./MewtocolTests/TestResults/summary.html" -f
git commit -m "Add/Update badge"
- name: Push badge commit