Skip to content

Commit acc6d93

Browse files
authored
Merge pull request #92 from ioet/55-codecov-integration
closes #55
2 parents 3b4f06d + 3b7e28c commit acc6d93

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/CI-time-tracker-ui.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: npm audit --audit-level=moderate
2525

2626
ci-test:
27-
name: Running unit tests
27+
name: Unit tests and CodeCoverage
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 90
3030
steps:
@@ -61,3 +61,8 @@ jobs:
6161
6262
- name: Run the test
6363
run: npm run ci-test --if-present
64+
65+
- name: Generate coverage report
66+
env:
67+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
68+
run: bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 9.0.4.
44

5+
## Metrics
6+
7+
[![codecov](https://codecov.io/gh/ioet/time-tracker-ui/branch/master/graph/badge.svg)](https://codecov.io/gh/ioet/time-tracker-ui)
8+
<br/>Code Coverage Status
9+
10+
![CD process to deploy to App-Service service](https://github.com/ioet/time-tracker-ui/workflows/CD%20process%20to%20deploy%20to%20App-Service%20service/badge.svg)
11+
<br/>CD Pipeline Status
12+
513
## Prerequisites
614

715
### Node.js

0 commit comments

Comments
 (0)