Changeset f61d16d for src/mapservice
- Timestamp:
- Apr 10, 2020, 7:54:08 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- a249e2d
- Parents:
- a2b8052
- Location:
- src/mapservice/codegen
- Files:
-
- 3 edited
-
code_generator (modified) (1 diff)
-
templates/test-requirements.mustache (modified) (1 diff)
-
templates/tox.mustache (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice/codegen/code_generator
ra2b8052 rf61d16d 62 62 echo 'pip install $@' >> "${TOX_INSTALL_COMMAND}" 63 63 chmod 0755 "${TOX_INSTALL_COMMAND}" 64 # create coverage configuration 65 COVERAGERC_FILE="${SRC_GEN}/.coveragerc" 66 echo "[run]" >> "${COVERAGERC_FILE}" 67 echo "branch = True" >> "${COVERAGERC_FILE}" 68 echo "omit = *test*" >> "${COVERAGERC_FILE}" 64 69 65 70 # create MANIFEST.in to package openapi-spec and templates -
src/mapservice/codegen/templates/test-requirements.mustache
ra2b8052 rf61d16d 1 1 flask_testing 2 coverage >=4.0.32 coverage 3 3 pluggy>=0.3.1 4 4 py>=1.4.31 5 5 pytest 6 pytest-cov 6 7 Pillow -
src/mapservice/codegen/templates/tox.mustache
ra2b8052 rf61d16d 1 1 [tox] 2 envlist = py32 envlist = clean,py3 3 3 4 4 [testenv] … … 8 8 install_command = {toxinidir}/tox_install_command {opts} {packages} 9 9 10 commands = pytest 10 commands = pytest --cov=gnuboat_mapservice --cov-append --cov-report=term-missing 11 12 [testenv:clean] 13 deps = coverage 14 skip_install = true 15 commands = coverage erase
Note:
See TracChangeset
for help on using the changeset viewer.
