Skip to content

Commit be199bb

Browse files
committed
trying new config 9
1 parent 46d3f1d commit be199bb

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
test:
11-
name: Tests & Coverage
11+
name: test
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
@@ -34,8 +34,11 @@ jobs:
3434
run: |
3535
pdm run pytest --cov=fitbit_client --cov-report=xml:coverage.xml
3636
37-
- name: Upload coverage reports to Codecov
37+
- name: Upload coverage to Codecov
3838
uses: codecov/codecov-action@v5
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
41-
slug: jpstroop/fitbit-client-python
41+
files: ./coverage.xml
42+
fail_ci_if_error: false
43+
name: codecov-umbrella
44+
verbose: true

codecov.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
codecov:
22
require_ci_to_pass: yes
33
strict_yaml_branch: main
4+
notify:
5+
wait_for_ci: yes
6+
after_n_builds: 1
47

58
coverage:
69
precision: 2
@@ -14,21 +17,25 @@ coverage:
1417
base: auto
1518
branches:
1619
- main
17-
if_not_found: failure
20+
if_not_found: success
1821
if_ci_failed: error
1922
informational: false
2023
only_pulls: false
24+
paths:
25+
- "fitbit_client/"
2126
patch:
2227
default:
2328
target: 100%
2429
threshold: 0%
2530
base: auto
2631
branches:
2732
- main
28-
if_not_found: failure
33+
if_not_found: success
2934
if_ci_failed: error
3035
informational: false
3136
only_pulls: false
37+
paths:
38+
- "fitbit_client/"
3239

3340
parsers:
3441
gcov:

0 commit comments

Comments
 (0)