mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-31 17:21:17 -07:00
Add pytest to tox run in CI/CD (#713)
* Add pytest to tox run in CI/CD * Try fixing tox dependencies for pytest * update poetry to get ci/cd passing * Run poetry export with --dev flag to include dev dependencies such as pytest * WIP updating test fixtures to include PDF * Remove dev dependencies from reqs and add pytest to envlist to make build faster * passing score_post tests * Add pytest tox (#729) * Fix failing pytest * Fixes failing tox tests and updates requirements.txt to include dev deps * pickle protocol 4 Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov> Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov> Co-authored-by: Billy Daly <williamdaly422@gmail.com> Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
This commit is contained in:
parent
7709836a12
commit
d3a18352fc
17 changed files with 112 additions and 64 deletions
|
@ -1,7 +1,7 @@
|
|||
[tox]
|
||||
# required because we use pyproject.toml
|
||||
isolated_build = true
|
||||
envlist = py37, py38, py39, lint, checkdeps
|
||||
envlist = py37, py38, py39, lint, checkdeps, pytest
|
||||
# only checks python versions installed locally
|
||||
skip_missing_interpreters = true
|
||||
|
||||
|
@ -18,3 +18,8 @@ commands = black data_pipeline
|
|||
deps = -rrequirements.txt
|
||||
commands = safety check
|
||||
liccheck
|
||||
|
||||
[testenv:pytest]
|
||||
# Run tests
|
||||
deps = pytest
|
||||
commands = pytest
|
Loading…
Add table
Add a link
Reference in a new issue