Skip to content

incentives test coverage #26

incentives test coverage

incentives test coverage #26

Workflow file for this run

name: code-coverage-workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: false
defaults:
run:
working-directory: src/auth-service
name: CodeCoverage
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run:
npm install
- name: Run tests and collect coverage
continue-on-error: true
run:
npm run test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
directory: src/auth-service/coverage