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