diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8be92bc..c7cefe5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,7 +167,7 @@ jobs: python "$GITHUB_WORKSPACE/scripts/run_approval_demo.py" \ --python "$wheel_python" --output-dir "$RUNNER_TEMP/release-approval-demo" if [[ "$RUNNER_OS" == "Linux" ]]; then - python "$GITHUB_WORKSPACE/scripts/run_path_regression_check.py" --python "$wheel_python" \ + "$wheel_python" "$GITHUB_WORKSPACE/scripts/run_path_regression_check.py" --python "$wheel_python" \ --output "$RUNNER_TEMP/release-path-replay.json" --markdown "$RUNNER_TEMP/release-path-replay.md" fi - name: Retain release path evidence diff --git a/tests/test_release_workflow.py b/tests/test_release_workflow.py index 8d0a5c0..d0677d9 100644 --- a/tests/test_release_workflow.py +++ b/tests/test_release_workflow.py @@ -51,6 +51,7 @@ def test_publish_waits_for_source_tests_and_cross_platform_acceptance(self): self.assertIn("scripts/verify_installed_package.py", workflow) self.assertIn("scripts/run_cursor_coverage_demo.py", workflow) self.assertIn("scripts/run_path_regression_check.py", workflow) + self.assertIn('"$wheel_python" "$GITHUB_WORKSPACE/scripts/run_path_regression_check.py"', workflow) self.assertIn("scripts/run_approval_demo.py", workflow) self.assertIn("release-cursor-coverage-${{ matrix.os }}", workflow) self.assertIn("needs: [build, acceptance, action-acceptance]", workflow)