Skip to content

Commit

Permalink
fix test docker with parallel and concurrency enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Nov 27, 2024
1 parent 05e7a92 commit 1a9b46a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/test_base/entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ echo "execute test with coverage"
cd ${TEST_ROOT}
hatch env create dev
hatch run dev:coverage run -m pytest --junit-xml=${OUTPUT_DIR}/pytest.xml ${@:-}
hatch run dev:coverage combine
hatch run dev:coverage xml -o ${OUTPUT_DIR}/coverage.xml
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ concurrency = [
]
branch = false
relative_files = true
parallel = true
source = [
"otaclient",
"otaclient_api",
Expand Down

0 comments on commit 1a9b46a

Please sign in to comment.