mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-04-15 06:57:28 +00:00
Add coverage report for performed tests. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
20 lines
463 B
Bash
Executable File
20 lines
463 B
Bash
Executable File
set -xeEo pipefail
|
|
|
|
source CI/tests/common.sh
|
|
|
|
trap error ERR
|
|
trap finish EXIT
|
|
|
|
|
|
function functional_test_time_scenario {
|
|
export scenario_type="time_scenarios"
|
|
export scenario_file="CI/scenarios/time_scenarios.yml"
|
|
export post_config=""
|
|
envsubst < CI/config/common_test_config.yaml > CI/config/time_config.yaml
|
|
|
|
python3 -m coverage run -a run_kraken.py -c CI/config/time_config.yaml
|
|
echo "Time scenario test: Success"
|
|
}
|
|
|
|
functional_test_time_scenario
|