Skip to content

Commit b20fab1

Browse files
michaelosthegetwiecki
authored andcommitted
Update codecov config
Related to #6346
1 parent a0d6ba0 commit b20fab1

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ jobs:
149149
- name: Run tests
150150
run: |
151151
conda activate pymc-test
152-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
152+
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
153153
- name: Upload coverage to Codecov
154-
uses: codecov/codecov-action@v2
154+
uses: codecov/codecov-action@v3
155155
with:
156156
env_vars: TEST_SUBSET
157157
name: ${{ matrix.os }} ${{ matrix.floatx }}
@@ -221,9 +221,9 @@ jobs:
221221
# The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
222222
run: >-
223223
conda activate pymc-test &&
224-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
224+
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
225225
- name: Upload coverage to Codecov
226-
uses: codecov/codecov-action@v2
226+
uses: codecov/codecov-action@v3
227227
with:
228228
env_vars: TEST_SUBSET
229229
name: ${{ matrix.os }} ${{ matrix.floatx }}
@@ -295,9 +295,9 @@ jobs:
295295
python --version
296296
- name: Run tests
297297
run: |
298-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
298+
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
299299
- name: Upload coverage to Codecov
300-
uses: codecov/codecov-action@v2
300+
uses: codecov/codecov-action@v3
301301
with:
302302
env_vars: TEST_SUBSET
303303
name: ${{ matrix.os }} ${{ matrix.floatx }}
@@ -364,9 +364,9 @@ jobs:
364364
pip install git+https://github.com/blackjax-devs/[email protected]
365365
- name: Run tests
366366
run: |
367-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
367+
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
368368
- name: Upload coverage to Codecov
369-
uses: codecov/codecov-action@v2
369+
uses: codecov/codecov-action@v3
370370
with:
371371
env_vars: TEST_SUBSET
372372
name: JAX tests - ${{ matrix.os }} ${{ matrix.floatx }}
@@ -432,9 +432,9 @@ jobs:
432432
# The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
433433
run: >-
434434
conda activate pymc-test &&
435-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
435+
python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
436436
- name: Upload coverage to Codecov
437-
uses: codecov/codecov-action@v2
437+
uses: codecov/codecov-action@v3
438438
with:
439439
env_vars: TEST_SUBSET
440440
name: ${{ matrix.os }} ${{ matrix.floatx }}

codecov.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
codecov:
2-
require_ci_to_pass: no
3-
notify:
4-
after_n_builds: 6
2+
require_ci_to_pass: yes
53

64
coverage:
75
precision: 2

0 commit comments

Comments
 (0)