Skip to content

Commit 3477b6c

Browse files
remove gist badges (#95)
1 parent 9faf26e commit 3477b6c

2 files changed

Lines changed: 3 additions & 28 deletions

File tree

.github/workflows/run-unit-tests-with-coverage.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,6 @@ jobs:
2424
- name: Run tests
2525
run: |
2626
poetry run python -m tests.run_unit_tests_with_coverage
27-
- name: Create coverage badge
28-
uses: schneegans/dynamic-badges-action@v1.6.0
29-
with:
30-
auth: ${{ secrets.GIST_SECRET }}
31-
gistID: a442efe7b753f00d0f7a1cfceff87f61
32-
filename: codex_badge_coverage.json
33-
label: Coverage
34-
message: ${{ env.COVERAGE }}%
35-
valColorRange: ${{ env.COVERAGE }}
36-
minColorRange: 50
37-
maxColorRange: 90
38-
- name: Create tests badge
39-
uses: schneegans/dynamic-badges-action@v1.6.0
40-
with:
41-
auth: ${{ secrets.GIST_SECRET }}
42-
gistID: a442efe7b753f00d0f7a1cfceff87f61
43-
filename: codex_badge_tests.json
44-
label: Tests
45-
message: ${{ env.TESTS_MESSAGE }}
46-
valColorRange: ${{ env.TESTS_VALUE }}
47-
minColorRange: 0
48-
maxColorRange: 1
49-
- name: Clear badges cache
50-
run: |
51-
curl -X PURGE https://camo.githubusercontent.com/f05879fc9b761b10321b55dc0e1a96f0a6fea309e7ad158e4815c0836c8061b5/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470733a2f2f676973742e67697468756275736572636f6e74656e742e636f6d2f6b61696b75652f61343432656665376237353366303064306637613163666365666638376636312f7261772f636f6465785f62616467655f636f7665726167652e6a736f6e
52-
curl -X PURGE https://camo.githubusercontent.com/ca108ae3ef0ed94461fd8c680edb2b11ab41ee4e3189b824a417eec4848b0098/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470733a2f2f676973742e67697468756275736572636f6e74656e742e636f6d2f6b61696b75652f61343432656665376237353366303064306637613163666365666638376636312f7261772f636f6465785f62616467655f74657374732e6a736f6e
5327
- name: Verify action status
5428
if: ${{ env.TESTS_VALUE != 1 }}
5529
uses: actions/github-script@v3

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Codex - Connectome Data Explorer for FlyWire
22

3-
[![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/kaikue/a442efe7b753f00d0f7a1cfceff87f61/raw/codex_badge_coverage.json)](https://github.com/murthylab/codex/actions)
4-
[![Tests](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/kaikue/a442efe7b753f00d0f7a1cfceff87f61/raw/codex_badge_tests.json)](https://github.com/murthylab/codex/actions)
3+
![Tests Passing](https://img.shields.io/badge/tests-passing-brightgreen)
4+
![Coverage](https://img.shields.io/badge/coverage-67%25-yellowgreen)
55

66
## Description
77

@@ -49,6 +49,7 @@ Run service locally and click around in all pages
4949
```sh
5050
poetry run ./scripts/run_unit_tests.sh
5151
```
52+
If test status or coverage percentage change, update the static badges above
5253

5354
## Linting / code formatting
5455

0 commit comments

Comments
 (0)