-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dont need test reselt b!dges for prs [skip ci]
- Loading branch information
1 parent
0dc2492
commit d48db21
Showing
1 changed file
with
1 addition
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,98 +172,4 @@ jobs: | |
if: always() | ||
with: | ||
nunit_files: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/NUnit*.xml | ||
check_name: WinPS71 Test Results | ||
|
||
- name: Set Linux badge color | ||
shell: bash | ||
run: | | ||
case ${{ fromJSON( steps.linux-test-results.outputs.json ).conclusion }} in | ||
success) | ||
echo "LINUXBADGE_COLOR=31c653" >> $GITHUB_ENV | ||
;; | ||
failure) | ||
echo "LINUXBADGE_COLOR=800000" >> $GITHUB_ENV | ||
;; | ||
neutral) | ||
echo "LINUXBADGE_COLOR=696969" >> $GITHUB_ENV | ||
;; | ||
esac | ||
- name: Create Linux badge | ||
uses: emibcn/[email protected] | ||
with: | ||
label: Tests | ||
status: '${{ fromJSON( steps.linux-test-results.outputs.json ).formatted.stats.tests }} tests, ${{ fromJSON( steps.linux-test-results.outputs.json ).formatted.stats.runs }} runs: ${{ fromJSON( steps.linux-test-results.outputs.json ).conclusion }}' | ||
color: ${{ env.LINUXBADGE_COLOR }} | ||
path: linux-badge.svg | ||
- name: Upload Linux badge to Gist | ||
# Upload only for main branch | ||
if: > | ||
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' || | ||
github.event_name != 'workflow_run' && github.ref == 'refs/heads/main' | ||
uses: andymckay/append-gist-action@1fbfbbce708a39bd45846f0955ed5521f2099c6d | ||
with: | ||
token: ${{ secrets.GIST_TOKEN }} | ||
gistURL: https://gist.githubusercontent.com/SQLDBAWithABeard/7a5d2837e29654202f22392187c75fec | ||
file: linux-badge.svg | ||
- name: Set WinPS51 badge color | ||
shell: bash | ||
run: | | ||
case ${{ fromJSON( steps.winps51-test-results.outputs.json ).conclusion }} in | ||
success) | ||
echo "WINPS51BADGE_COLOR=31c653" >> $GITHUB_ENV | ||
;; | ||
failure) | ||
echo "WINPS51BADGE_COLOR=800000" >> $GITHUB_ENV | ||
;; | ||
neutral) | ||
echo "WINPS51BADGE_COLOR=696969" >> $GITHUB_ENV | ||
;; | ||
esac | ||
- name: Create WINPS51 badge | ||
uses: emibcn/[email protected] | ||
with: | ||
label: Tests | ||
status: '${{ fromJSON( steps.winps51-test-results.outputs.json ).formatted.stats.tests }} tests, ${{ fromJSON( steps.winps51-test-results.outputs.json ).formatted.stats.runs }} runs: ${{ fromJSON( steps.winps51-test-results.outputs.json ).conclusion }}' | ||
color: ${{ env.WINPS51BADGE_COLOR }} | ||
path: winps51-badge.svg | ||
- name: Upload WINPS51 badge to Gist | ||
# Upload only for main branch | ||
if: > | ||
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' || | ||
github.event_name != 'workflow_run' && github.ref == 'refs/heads/main' | ||
uses: andymckay/append-gist-action@1fbfbbce708a39bd45846f0955ed5521f2099c6d | ||
with: | ||
token: ${{ secrets.GIST_TOKEN }} | ||
gistURL: https://gist.githubusercontent.com/SQLDBAWithABeard/7a5d2837e29654202f22392187c75fec | ||
file: winps51-badge.svg | ||
- name: Set WinPS7 badge color | ||
shell: bash | ||
run: | | ||
case ${{ fromJSON( steps.winps71-test-results.outputs.json ).conclusion }} in | ||
success) | ||
echo "WINPS7BADGE_COLOR=31c653" >> $GITHUB_ENV | ||
;; | ||
failure) | ||
echo "WINPS7BADGE_COLOR=800000" >> $GITHUB_ENV | ||
;; | ||
neutral) | ||
echo "WINPS7BADGE_COLOR=696969" >> $GITHUB_ENV | ||
;; | ||
esac | ||
- name: Create WinPS7 badge | ||
uses: emibcn/[email protected] | ||
with: | ||
label: Tests | ||
status: '${{ fromJSON( steps.winps71-test-results.outputs.json ).formatted.stats.tests }} tests, ${{ fromJSON( steps.winps71-test-results.outputs.json ).formatted.stats.runs }} runs: ${{ fromJSON( steps.winps71-test-results.outputs.json ).conclusion }}' | ||
color: ${{ env.WINPS7BADGE_COLOR }} | ||
path: winps7-badge.svg | ||
- name: Upload WINPS7 badge to Gist | ||
# Upload only for main branch | ||
if: > | ||
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' || | ||
github.event_name != 'workflow_run' && github.ref == 'refs/heads/main' | ||
uses: andymckay/append-gist-action@1fbfbbce708a39bd45846f0955ed5521f2099c6d | ||
with: | ||
token: ${{ secrets.GIST_TOKEN }} | ||
gistURL: https://gist.githubusercontent.com/SQLDBAWithABeard/7a5d2837e29654202f22392187c75fec | ||
file: winps7-badge.svg | ||
check_name: WinPS71 Test Results |