Skip to content

Commit b67f60d

Browse files
authored
Circle CI code coverage (#12)
* Circle CI code coverage * Adding resource classes
1 parent 6e7e4bb commit b67f60d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ executors:
44
python-container:
55
docker:
66
- image: cimg/python:3.12
7+
resource_class: small
78
python-vm:
89
machine:
910
image: ubuntu-2204:current
11+
resource_class: medium
1012

1113
workflows:
1214
ci:
@@ -77,6 +79,7 @@ jobs:
7779
name: Run pytest
7880
command: |
7981
mkdir test-results
82+
mkdir htmlcov
8083
8184
args=("--junitxml=test-results/junit.xml" "--log-cli-level=DEBUG" "--host" "localhost" "--port=8529")
8285
if [ << parameters.arangodb_config >> = "cluster" ]; then
@@ -88,7 +91,10 @@ jobs:
8891
fi
8992
9093
echo "Running pytest with args: ${args[@]}"
91-
pytest --cov=arango --cov-report=xml --cov-report term-missing --color=yes --code-highlight=yes "${args[@]}"
94+
pytest --cov=arangoasync --cov-report=html:htmlcov --color=yes --code-highlight=yes "${args[@]}"
95+
- store_artifacts:
96+
path: htmlcov
97+
destination: coverage-report
9298
- store_artifacts:
9399
path: test-results
94100
- store_test_results:

0 commit comments

Comments
 (0)