Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
# This is a combination of 9 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

Re-writing circle.yml to store code coverage in CircleCI's workspace and
collect them afterwards. Test run parallelization is used with
environment variables instead of using custom test runner.

# This is the commit message #2:

Update Makefile message.

# This is the commit message #3:

Remove cov.html from cov.combine.

# This is the commit message #4:

Stop running all tests in all containers

# This is the commit message #5:

Cleanup

# This is the commit message #6:

Experiment with different IDs for each coverage report

# This is the commit message #7:

Gathering raw coverage from all steps

# This is the commit message #8:

Always copy coverage and log message when not found

# This is the commit message #9:

Log copying raw coverage files for debugging
  • Loading branch information
xirdneh committed Jun 30, 2019
1 parent 6874724 commit a195c6f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,8 @@ jobs:
bin/install-supported-firefox
mkdir -p /tmp/coverage/$CIRCLE_SHA1
make << parameters.tests_type >>
if [ -e .coverage.* ]; then
cp .coverage.* /tmp/coverage/$CIRCLE_SHA1/.
fi
if [ -d coverage ]; then
cp -R coverage/* /tmp/coverage/$CIRCLE_SHA1/.
fi
cp -v .coverage.* /tmp/coverage/$CIRCLE_WORKFLOW_JOB_ID/ || true
cp -R coverage/* /tmp/coverage/$CIRCLE_WORKFLOW_JOB_ID/ 2&> /dev/null || true
no_output_timeout: 2h
environment:
ANSIBLE_HOST_KEY_CHECKING: False
Expand Down Expand Up @@ -125,9 +121,8 @@ jobs:
- run:
command: |
. venv/bin/activate
coverage combine /tmp/workspace/coverage/$CIRCLE_SHA1/
coverage combine /tmp/workspace/coverage/*
make cov.html
if [ -e /tmp/workspace/coverage/$CIRCLE_SHA1/text/coverage.txt ]; then cat /tmp/workspace/coverage/$CIRCLE_SHA1/text/coverage.txt; fi
cleanup:
docker:
- image: circleci/python:3.5.4
Expand Down

0 comments on commit a195c6f

Please sign in to comment.