File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,8 +278,18 @@ jobs:
278278 command : |
279279 source venv_test/bin/activate
280280 export _GRID2OP_FORCE_TEST=1
281+ export COVERAGE_FILE=/tmp/coverage_shards/.coverage.test_alert_alarm_$CIRCLE_NODE_INDEX
281282 cd grid2op/tests/
282- python -m unittest -v test_ts_handlers test_ChronicsHandler test_env_from_episode
283+ coverage run -m unittest -v test_ts_handlers test_ChronicsHandler test_env_from_episode
284+
285+ - persist_to_workspace :
286+ root : /tmp/coverage_shards
287+ paths :
288+ - .coverage.*
289+
290+ - store_artifacts :
291+ path : /tmp/coverage_shards
292+ destination : coverage_artifacts/
283293
284294 test_backend :
285295 executor : grid2op-executor
@@ -302,8 +312,18 @@ jobs:
302312 command : |
303313 source venv_test/bin/activate
304314 export _GRID2OP_FORCE_TEST=1
315+ export COVERAGE_FILE=/tmp/coverage_shards/.coverage.test_alert_alarm_$CIRCLE_NODE_INDEX
305316 cd grid2op/tests/
306- python -m unittest -v test_ts_handlers test_basicBackendInterface test_action_set_orig_state test_PandaPowerBackendDefaultFunc test_PandaPowerBackend test_BackendAction
317+ coverage run -m unittest -v test_ts_handlers test_basicBackendInterface test_action_set_orig_state test_PandaPowerBackendDefaultFunc test_PandaPowerBackend test_BackendAction
318+
319+ - persist_to_workspace :
320+ root : /tmp/coverage_shards
321+ paths :
322+ - .coverage.*
323+
324+ - store_artifacts :
325+ path : /tmp/coverage_shards
326+ destination : coverage_artifacts/
307327
308328 test_issue :
309329 executor : grid2op-executor
You can’t perform that action at this time.
0 commit comments