Skip to content

Commit

Permalink
(fix): code coverage badge
Browse files Browse the repository at this point in the history
- changed ci actions to use codecov

[Fixes #100]
  • Loading branch information
jkarenzi committed May 27, 2024
1 parent d468193 commit f13ec4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow_for_ecomm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- run: npm run test:ci --if-present
- run: npx update-badge
- run: npm run lint --if-present
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
allow-empty: true
token: ${{ secrets.CODECOV_TOKEN }}
env:
DB_PORT_DEV: ${{ secrets.DB_PORT_DEV }}
DB_USER_DEV: ${{ secrets.DB_USER_DEV }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![check-code-coverage](https://img.shields.io/badge/code--coverage-96.25%25-brightgreen)
[![codecov](https://codecov.io/gh/atlp-rwanda/dynamites-ecomm-be/graph/badge.svg?token=I1G8CMQKBH)](https://codecov.io/gh/atlp-rwanda/dynamites-ecomm-be)
# Dynamites API

## Overview
Expand Down

0 comments on commit f13ec4c

Please sign in to comment.