Skip to content

Commit

Permalink
Code coverage merge
Browse files Browse the repository at this point in the history
  • Loading branch information
emaciupe committed Jul 5, 2022
1 parent 67814d6 commit 02ec709
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
--data build_parameters[BASE_TAG]=$BASE_TAG \
--data revision=$CIRCLE_SHA1 \
https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH
- run: mkdir -p build/coverage
- persist_to_workspace:
root: build
paths:
- coverage
test:
working_directory: ~/code
docker:
Expand All @@ -62,6 +67,8 @@ jobs:
POSTGRES_PASSWORD: postgres
parallelism: 6
steps:
- attach_workspace:
at: build/coverage
- checkout
- restore_cache:
key: source-{{ .Branch }}--{{ checksum "Pipfile.lock" }}-{{ checksum ".circleci/config.yml" }}
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ addopts =
--echo-env=CIRCLECI
--echo-env=PIPENV_VERBOSITY
--capture=no
--cov-append
--cov-report=html
--cov-config=tests/.coveragerc
--cov=etools_datamart
Expand Down Expand Up @@ -57,6 +58,7 @@ commands =
isort src/ tests/ --check-only
pipenv run pytest --create-db \
-q \
--cov-append \
--cov-report=term \
--cov-config=tests/.coveragerc \
--cov=etools_datamart \
Expand Down

0 comments on commit 02ec709

Please sign in to comment.