File tree Expand file tree Collapse file tree 3 files changed +87
-348
lines changed Expand file tree Collapse file tree 3 files changed +87
-348
lines changed Original file line number Diff line number Diff line change 31
31
version : 3.x
32
32
repo-token : ${{ secrets.GITHUB_TOKEN }}
33
33
34
- - name : Run tests
35
- run : task test
34
+ - name : Run tests with coverage
35
+ run : task test-coverage
36
+
37
+ - name : Upload coverage reports to Codecov with GitHub Action
38
+ uses : codecov/codecov-action@v5
39
+ env :
40
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
41
+ with :
42
+ slug : stacklok/toolhive
43
+
44
+ - name : Upload coverage to Coveralls
45
+ uses : coverallsapp/github-action@v2
46
+ with :
47
+ file : coverage/coverage.out
Original file line number Diff line number Diff line change 12
12
</p >
13
13
14
14
[ ![ Release] [ release-img ]] [ release ] [ ![ Build status] [ ci-img ]] [ ci ]
15
+ [ ![ Coverage Status] [ coveralls-img ]] [ coveralls ]
15
16
[ ![ License: Apache 2.0] [ license-img ]] [ license ]
16
17
[ ![ Star on GitHub] [ stars-img ]] [ stars ] [ ![ Discord] [ discord-img ]] [ discord ]
17
18
@@ -104,6 +105,8 @@ This project is licensed under the [Apache 2.0 License](./LICENSE).
104
105
[ release ] : https://github.com/stacklok/toolhive/releases/latest
105
106
[ ci-img ] : https://img.shields.io/github/actions/workflow/status/stacklok/toolhive/run-on-main.yml?style=flat&logo=github&label=Build
106
107
[ ci ] : https://github.com/stacklok/toolhive/actions/workflows/run-on-main.yml
108
+ [ coveralls-img ] : https://coveralls.io/repos/github/stacklok/toolhive/badge.svg?branch=main
109
+ [ coveralls ] : https://coveralls.io/github/stacklok/toolhive?branch=main
107
110
[ license-img ] : https://img.shields.io/badge/License-Apache2.0-blue.svg?style=flat
108
111
[ license ] : https://opensource.org/licenses/Apache-2.0
109
112
[ stars-img ] : https://img.shields.io/github/stars/stacklok/toolhive.svg?style=flat&logo=github&label=Stars
You can’t perform that action at this time.
0 commit comments