Skip to content

Conversation

@williambdean
Copy link
Contributor

This PR modifies the slow-tests-issue workflow to gracefully handle script failures by adding continue-on-error: true to the script execution step.

Changes

  • Added continue-on-error: true to the "Trigger the script" step in .github/workflows/slow-tests-issue.yml

Rationale

The scheduled workflow should not fail entirely when the script encounters an error. With this change, the workflow will complete successfully and mark the step as skipped if the script fails, preventing unnecessary workflow failures.

Add continue-on-error: true to the script step to prevent the entire
workflow from failing when the script encounters an error. This allows
the scheduled workflow to complete successfully even if the script fails.
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.71%. Comparing base (cfa76f5) to head (e3435ef).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1734   +/-   ##
=======================================
  Coverage   81.71%   81.71%           
=======================================
  Files         251      251           
  Lines       54112    54112           
  Branches     9470     9470           
=======================================
  Hits        44215    44215           
  Misses       7409     7409           
  Partials     2488     2488           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@williambdean
Copy link
Contributor Author

Will keep this as the change for now and will monitor and adjust the workflow as needed based .

@williambdean
Copy link
Contributor Author

Will keep this as the change for now and will monitor and adjust the workflow as needed based.

@ricardoV94 ricardoV94 merged commit 8996811 into pymc-devs:main Nov 21, 2025
58 checks passed
@williambdean williambdean deleted the fix-slow-tests-workflow-failure branch November 21, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants