diff --git a/.github/workflows/CI-time-tracker-ui.yml b/.github/workflows/CI-time-tracker-ui.yml index 4d6aad5de..258bc59bf 100644 --- a/.github/workflows/CI-time-tracker-ui.yml +++ b/.github/workflows/CI-time-tracker-ui.yml @@ -24,7 +24,7 @@ jobs: run: npm audit --audit-level=moderate ci-test: - name: Running unit tests + name: Unit tests and CodeCoverage runs-on: ubuntu-latest timeout-minutes: 90 steps: @@ -61,3 +61,8 @@ jobs: - name: Run the test run: npm run ci-test --if-present + + - name: Generate coverage report + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index f655acc24..42efd3585 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 9.0.4. +## Metrics + +[![codecov](https://codecov.io/gh/ioet/time-tracker-ui/branch/master/graph/badge.svg)](https://codecov.io/gh/ioet/time-tracker-ui) +
Code Coverage Status + +![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) +
CD Pipeline Status + ## Prerequisites ### Node.js