Skip to content

Commit 70e7596

Browse files
committed
Remove SWT Test Results badge from README
This badge has been incorrect since its inception and keeping it maintained properly going forward would require some additional work in the context of eclipse-platform#2764 Therefore, this removes the badge. Fixes eclipse-platform#2783 Part of eclipse-platform#2714
1 parent 075a512 commit 70e7596

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

.github/workflows/junit.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -45,35 +45,3 @@ jobs:
4545
event_file: artifacts/Event File/event.json
4646
event_name: ${{ github.event.workflow_run.event }}
4747
files: "artifacts/**/*.xml"
48-
- name: Set badge color
49-
if: github.ref == 'refs/heads/master'
50-
shell: bash
51-
run: |
52-
case ${{ fromJSON( steps.test-results.outputs.json ).conclusion }} in
53-
success)
54-
echo "BADGE_COLOR=31c653" >> $GITHUB_ENV
55-
;;
56-
failure)
57-
echo "BADGE_COLOR=800000" >> $GITHUB_ENV
58-
;;
59-
neutral)
60-
echo "BADGE_COLOR=696969" >> $GITHUB_ENV
61-
;;
62-
esac
63-
64-
- name: Create badge
65-
if: github.ref == 'refs/heads/master'
66-
uses: emibcn/badge-action@808173dd03e2f30c980d03ee49e181626088eee8
67-
with:
68-
label: Tests
69-
status: '${{ fromJSON( steps.test-results.outputs.json ).stats.tests }} tests, ${{ fromJSON( steps.test-results.outputs.json ).stats.runs }} runs: ${{ fromJSON( steps.test-results.outputs.json ).conclusion }}'
70-
color: ${{ env.BADGE_COLOR }}
71-
path: badge.svg
72-
73-
- name: Upload badge to Gist
74-
if: github.ref == 'refs/heads/master'
75-
uses: andymckay/append-gist-action@ab30bf28df67017c7ad696500b218558c7c04db3
76-
with:
77-
token: ${{ secrets.GIST_TOKEN }}
78-
gistURL: https://gist.githubusercontent.com/eclipse-releng-bot/78d110a601baa4ef777ccb472f584038
79-
file: badge.svg

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[![SWT Matrix Build](https://github.com/eclipse-platform/eclipse.platform.swt/actions/workflows/maven.yml/badge.svg)](https://github.com/eclipse-platform/eclipse.platform.swt/actions/workflows/maven.yml)
22
[![Publish Unit Test Results](https://github.com/eclipse-platform/eclipse.platform.swt/actions/workflows/junit.yml/badge.svg)](https://github.com/eclipse-platform/eclipse.platform.swt/actions/workflows/junit.yml)
3-
![SWT Matrix Tests](https://gist.githubusercontent.com/eclipse-releng-bot/78d110a601baa4ef777ccb472f584038/raw/badge.svg)
43
[![License](https://img.shields.io/github/license/eclipse-platform/eclipse.platform)](https://github.com/eclipse-platform/eclipse.platform.swt/blob/master/LICENSE)
54

65
# About

0 commit comments

Comments
 (0)