Skip to content

Commit 41278c1

Browse files
authored
tidy(hive): remove badge and generation code (erigontech#6141)
Was not working as expected, and probably necessary now we can see hive result nightly.
1 parent 0094d13 commit 41278c1

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.github/workflows/hive-nightly.yml

+1-34
Original file line numberDiff line numberDiff line change
@@ -42,37 +42,4 @@ jobs:
4242
with:
4343
name: Tests
4444
path: results-${{ github.run_id }}/*.xml
45-
reporter: java-junit
46-
47-
- name: set badge color
48-
shell: bash
49-
run: |
50-
case ${{ fromJSON( steps.test-results.outputs.json ).conclusion }} in
51-
success)
52-
echo "BADGE_COLOR=31c653" >> $GITHUB_ENV
53-
;;
54-
failure)
55-
echo "BADGE_COLOR=800000" >> $GITHUB_ENV
56-
;;
57-
neutral)
58-
echo "BADGE_COLOR=696969" >> $GITHUB_ENV
59-
;;
60-
esac
61-
62-
- name: create badge
63-
uses: emibcn/badge-action@d6f51ff11b5c3382b3b88689ae2d6db22d9737d1
64-
with:
65-
label: Hive
66-
status: '${{ fromJSON( steps.test-results.outputs.json ).formatted.stats.tests }} tests, ${{ fromJSON( steps.test-results.outputs.json ).formatted.stats.runs }} runs: ${{ fromJSON( steps.test-results.outputs.json ).conclusion }}'
67-
color: ${{ env.BADGE_COLOR }}
68-
path: badge.svg
69-
70-
- name: upload badge to gist
71-
if: >
72-
github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'devel' ||
73-
github.event_name != 'workflow_run' && github.ref == 'refs/heads/devel'
74-
uses: andymckay/append-gist-action@1fbfbbce708a39bd45846f0955ed5521f2099c6d
75-
with:
76-
token: ${{ secrets.GIST_TOKEN }}
77-
gistURL: https://gist.githubusercontent.com/revitteth/dc492845ba6eb694e6c7279224634b20
78-
file: badge.svg
45+
reporter: java-junit

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Erigon is an implementation of Ethereum (execution client), on the efficiency fr
66

77
![Coverage](https://gist.githubusercontent.com/revitteth/ee38e9beb22353eef6b88f2ad6ed7aa9/raw/badge.svg)
88

9-
![Hive](https://gist.githubusercontent.com/revitteth/dc492845ba6eb694e6c7279224634b20/raw/badge.svg)
10-
119
<!--ts-->
1210

1311
- [System Requirements](#system-requirements)

0 commit comments

Comments
 (0)