Skip to content

Commit da174e3

Browse files
committed
update after_n_builds
1 parent 2c623c7 commit da174e3

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/gpu_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ jobs:
7272
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
7373
with:
7474
token: ${{ secrets.CODECOV_TOKEN }}
75+
flags: gpu
7576
verbose: true # optional (default = false)

.github/workflows/hypothesis.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
uses: codecov/codecov-action@v5
8282
with:
8383
token: ${{ secrets.CODECOV_TOKEN }}
84+
flags: tests
8485
verbose: true # optional (default = false)
8586

8687
- name: Generate and publish the report

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
uses: codecov/codecov-action@v5
7272
with:
7373
token: ${{ secrets.CODECOV_TOKEN }}
74+
flags: tests
7475
verbose: true # optional (default = false)
7576

7677
test-upstream-and-min-deps:
@@ -110,6 +111,7 @@ jobs:
110111
uses: codecov/codecov-action@v5
111112
with:
112113
token: ${{ secrets.CODECOV_TOKEN }}
114+
flags: tests
113115
verbose: true # optional (default = false)
114116

115117
doctests:

codecov.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,23 @@ coverage:
66
informational: true
77
project:
88
default:
9-
target: auto
10-
threshold: 0.1
9+
target: 90%
10+
threshold: 1%
11+
flags:
12+
- tests
13+
flags:
14+
tests:
15+
paths:
16+
- src/
17+
carryforward: true
18+
gpu:
19+
paths:
20+
- src/
21+
carryforward: true
1122
codecov:
1223
notify:
24+
# 6 = test.yml: 3 (optional+ubuntu) + 2 (upstream + min_deps), hypothesis: 1
25+
after_n_builds: 6
1326
wait_for_ci: yes
1427
comment:
1528
layout: "diff, files"

0 commit comments

Comments
 (0)