Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 3d395ae

Browse files
authored
Merge pull request #398 from AurelienJaquier/master
Activate coverage during tests
2 parents 660aa3a + 464c8ab commit 3d395ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[run]
2-
omit = */tests/*
2+
omit = */tests/*,bluepyopt/_version.py

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{3}-{unit,functional,style}
2+
envlist = py{3}-unit-functional-style
33

44
[gh-actions]
55
python =
@@ -13,7 +13,7 @@ python =
1313
[testenv]
1414
envdir =
1515
py27{-unit,-functional,-style,-syntax}: {toxworkdir}/py27
16-
py3{5,6,7,8,}{-unit,-functional,-style,-syntax}: {toxworkdir}/py3
16+
py3{5,6,7,8,9,10,}{-unit,-functional,-style,-syntax}: {toxworkdir}/py3
1717
docs: {toxworkdir}/docs
1818
deps =
1919
coverage
@@ -33,11 +33,11 @@ coverage_options = --cov-append --cov-report=xml --cov-config=.coveragerc
3333
commands =
3434
make clean
3535

36-
functional: make stochkv_prepare l5pc_prepare sc_prepare meta_prepare
3736
style: pycodestyle --ignore=E402,W503,W504 bluepyopt
3837
syntax: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
3938

4039
unit: pytest --cov=bluepyopt {[testenv]coverage_options} bluepyopt/tests -k unit
40+
functional: make stochkv_prepare l5pc_prepare sc_prepare meta_prepare
4141
functional: pytest --cov=bluepyopt {[testenv]coverage_options} bluepyopt/tests -k 'not unit'
4242

4343
[testenv:docs]

0 commit comments

Comments
 (0)