Skip to content

Commit

Permalink
Display test coverage on README
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Sep 10, 2024
1 parent 54e2ab7 commit b08a53e
Show file tree
Hide file tree
Showing 6 changed files with 574 additions and 234 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
with:
node-version: 18
- run: npm ci
- run: npm test
- run: npm run coverage
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
TZ: Europe/Paris

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
npm-debug.log
dist
coverage
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Home Assistant Linky Add-on

[![Build Status](https://flat.badgen.net/github/checks/bokub/ha-linky?label=build)](https://github.com/bokub/ha-linky/actions/workflows/run.yml?query=branch%3Amaster)
[![Version](https://flat.badgen.net/github/release/bokub/ha-linky?label=version)](https://github.com/bokub/ha-linky/releases)
[![Coverage](https://img.shields.io/codecov/c/github/bokub/ha-linky?style=flat-square)](https://app.codecov.io/github/bokub/ha-linky)
[![Version](https://gradgen.bokub.workers.dev/github/release/bokub/ha-linky?gradient=b65cff,11cbfa&style=flat&label=version)](https://github.com/bokub/ha-linky/releases)
[![Code style](https://flat.badgen.net/badge/code%20style/prettier/ff69b4)](https://github.com/bokub/prettier-config)

> A **Home Assistant** add-on to sync Energy dashboards with your **Linky** smart meter
Expand Down
Loading

0 comments on commit b08a53e

Please sign in to comment.