Ignore:
Timestamp:
Apr 10, 2020, 7:54:08 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
a249e2d
Parents:
a2b8052
Message:

Added coverage generation to mapservice tox configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/codegen/code_generator

    ra2b8052 rf61d16d  
    6262echo 'pip install $@' >> "${TOX_INSTALL_COMMAND}"
    6363chmod 0755 "${TOX_INSTALL_COMMAND}"
     64# create coverage configuration
     65COVERAGERC_FILE="${SRC_GEN}/.coveragerc"
     66echo "[run]" >> "${COVERAGERC_FILE}"
     67echo "branch = True" >> "${COVERAGERC_FILE}"
     68echo "omit = *test*" >> "${COVERAGERC_FILE}"
    6469
    6570# create MANIFEST.in to package openapi-spec and templates
Note: See TracChangeset for help on using the changeset viewer.