Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions runner/regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="$?"

Expand Down Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions runner/report_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down