-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (37 loc) · 1.11 KB
/
update-codecov-of-main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Update coverage report of main branch on codecov.io
on:
push:
branches:
- main
jobs:
unittests:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v4
- name: Install uv, just, and dependencies
uses: ./.github/actions/setup
- name: unittests
run: just unittests --cov=dsp_tools --cov-report xml
- name: upload coverage report to codecov.io
uses: codecov/codecov-action@v4
with:
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v4
- name: Install uv, just, and dependencies
uses: ./.github/actions/setup
- name: integration-tests
run: just integration-tests --cov=dsp_tools --cov-report xml
- name: upload coverage report to codecov.io
uses: codecov/codecov-action@v4
with:
flags: integration-tests
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true