diff --git a/runner/regression.sh b/runner/regression.sh index fd7556c87..04a3a4847 100755 --- a/runner/regression.sh +++ b/runner/regression.sh @@ -453,6 +453,7 @@ nix develop --accept-flake-config .#testenv --command bash -c ' rm -f "$pytest_stamp" ./runner/cli_coverage.sh "$COVERAGE_DIR" "${WORKDIR}/cli_coverage.json" || : ./runner/reqs_coverage.sh "$ARTIFACTS_DIR" "${WORKDIR}/requirements_coverage.json" || : + ./runner/report_stats.sh "$REPORTS_DIR" "$retval" "${WORKDIR}/cli_coverage.json" || : exit "$retval" ' || retval="$?" @@ -483,9 +484,6 @@ fi # Save testing artifacts ./runner/save_artifacts.sh "$ARTIFACTS_DIR" "$WORKDIR" || : -# Report testrun stats to the tcache -./runner/report_stats.sh "${WORKDIR}/allure-results" "$retval" "${WORKDIR}/cli_coverage.json" || : - kill_monitor if [ "$retval" -eq 0 ]; then diff --git a/runner/report_stats.sh b/runner/report_stats.sh index 89a1f6d34..f4a2525b4 100755 --- a/runner/report_stats.sh +++ b/runner/report_stats.sh @@ -35,13 +35,6 @@ if [ ! -d "$results_dir" ]; then exit 1 fi -# regression.sh adds PATH_PREPEND to PATH only inside its nix shell, so add it -# again here for the `--version` calls. -if [ -n "${PATH_PREPEND:-}" ]; then - PATH="${PATH_PREPEND}:${PATH}" - export PATH -fi - # `TCACHE_URL` ends in `/results`. root="${TCACHE_URL%/}" stats_url="${root%/results}/stats"