-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from bcliang/tox-testrunner
Use tox as test runner
- Loading branch information
Showing
8 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[run] | ||
branch = True | ||
source = | ||
gamry_parser | ||
|
||
omit = | ||
gamry_parser/__init__.py | ||
gamry_praser/version.py | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == .__main__. | ||
show_missing = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
setuptools | ||
coverage | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
EXPLAIN | ||
TAG CV | ||
TITLE LABEL Cyclic Voltammetry Test &Identifier | ||
DATE LABEL 3/6/2019 Date | ||
TIME LABEL 16:35:22 Time | ||
CHECKNOTES NOTES 1 &Notes... | ||
test-notes-data | ||
CHECKPSTAT PSTAT potentiostat-id Potentiostat | ||
CHECKPOTEN POTEN 5.00000E-001 F Initial &E (V) | ||
CHECKQUANT QUANT 1.2345E+000 &Scan Rate (mV/s) | ||
CHECKIQUANT IQUANT 5 C&ycles (#) | ||
CHECKSELECTOR SELECTOR 0 I/E Range &Mode | ||
CHECKTOGGLE TOGGLE F Used for Stripping | ||
CHECK2PARAM TWOPARAM T 3.00000E+002 5.00000E-001 Conditionin&g Time(s) E(V) | ||
VLIMIT1 POTEN 1.00000E-001 F Scan Limit &1 (V) | ||
VLIMIT2 POTEN 9.00000E-001 F Scan Limit &2 (V) | ||
SCANRATE QUANT 1.23456E+000 &Scan Rate (mV/s) | ||
CONDIT TWOPARAM F 3.00000E+002 4.00000E-001 Conditionin&g Time(s) E(V) | ||
DELAY TWOPARAM F 3.00000E+002 1.00000E-001 Init. De&lay Time(s) Stab.(mV/s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[tox] | ||
envlist = py{36,37,38,39} | ||
|
||
[gh-actions] | ||
python = | ||
3.6: py36 | ||
3.7: py37 | ||
3.8: py38 | ||
3.9: py39 | ||
|
||
[testenv] | ||
deps = | ||
pytest | ||
coverage | ||
|
||
commands = coverage erase | ||
coverage run {envbindir}/pytest | ||
coverage report --omit=*test* |