2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Add codecov (#6967)

* add codecov upload

* add to readme

* add flags

* dummy change

* dummy change

* switch to inventree org

* add codecov yaml

* lower threshold (for now)
see https://github.com/inventree/InvenTree/pull/6945 for a possibility to get it up again
This commit is contained in:
Matthias Mair
2024-04-07 22:33:26 +01:00
committed by GitHub
parent 3b87c84ae7
commit cc045bcc70
5 changed files with 38 additions and 0 deletions

View File

@ -283,6 +283,12 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: backend
parallel: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree
flags: backend
postgres:
name: Tests - DB [PostgreSQL]
@ -516,6 +522,12 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: pui
parallel: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree
flags: pui
platform_ui_build:
name: Build - UI Platform