Skip to content

Commit cb43e80

Browse files
authored
Codecov: notify after 7 builds (#4255)
* notify after 7 builds * parallelise
1 parent a6b13e7 commit cb43e80

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
codecov:
22
require_ci_to_pass: no
3+
notify:
4+
after_n_builds: 7
35

46
coverage:
57
precision: 2

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
7676
- run: |
7777
conda activate testenv
78-
python -m pytest -v --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
78+
python -m pytest -v --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET -n auto
7979
- name: Upload coverage to Codecov
8080
uses: codecov/codecov-action@v1
8181
with:

environment-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies:
2424
- pre-commit>=2.8.0
2525
- pytest-cov>=2.5
2626
- pytest>=3.0
27+
- pytest-xdist
2728
- recommonmark>=0.4
2829
- seaborn>=0.8
2930
- sphinx-autobuild>=0.7

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pyflakes>=1.5.0
1212
pylint>=1.7.4
1313
pytest-cov>=2.5.1
1414
pytest>=3.0.7
15+
pytest-xdist
1516
recommonmark>=0.4.0
1617
seaborn>=0.8.1
1718
sphinx-autobuild==0.7.1

0 commit comments

Comments
 (0)