Skip to content

Conversation

@EZoni
Copy link
Member

@EZoni EZoni commented May 21, 2025

Follow up on #5889 and fix the issue that appeared in #5883, related to the fact that we add the clang-tidy checks automatically from a matrix, rather than manually as separate jobs in the workflow file.

Note that I had managed to fix a similar issue in the alternative in-house implementation I had proposed in #5469.

To-do:

  • Fix main issue by applying the if condition at the step level (rather than the job level)
  • Remove cron schedule for CodeQL workflows (on Sundays at 3:27 AM...?)
  • Revert change in .github/workflows/check_changes.yml (implemented only to test the PR)

Future PRs:

  • Skip also CodeQL workflows (C++ and Python files analysis) - not working yet...

Comment on lines -8 to -9
schedule:
- cron: "27 3 * * 0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed cron schedule for CodeQL workflows (on Sundays at 3:27 AM...?).

@EZoni EZoni force-pushed the ci_docs_skip_checks_amrex_take2 branch from 5d8923f to a6a94e4 Compare June 17, 2025 23:30
@EZoni
Copy link
Member Author

EZoni commented Jun 18, 2025

@ax3l

The latest bug fix seems to have worked, if you look at the CI output for 705fd1a.

I will push one more commit to resolve the point

Revert change in .github/workflows/check_changes.yml (implemented only to test the PR)

mentioned in the PR description (this new commit will trigger CI, as expected), and then I think we could merge and test right away in #5883 (which is a docs-only PR), after rebasing that PR on development.

@EZoni EZoni changed the title [WIP] CI: Fix Skipped Required Workflows (again) CI: Fix Skipped Required Workflows (again) Jun 18, 2025
@EZoni EZoni requested a review from ax3l June 18, 2025 02:05
@EZoni EZoni added the component: tests Tests and CI label Jun 18, 2025
@ax3l ax3l merged commit 85568db into BLAST-WarpX:development Jun 20, 2025
50 checks passed
@EZoni EZoni deleted the ci_docs_skip_checks_amrex_take2 branch June 20, 2025 20:12
atmyers pushed a commit to atmyers/WarpX that referenced this pull request Jul 3, 2025
Follow up on BLAST-WarpX#5889 and fix the issue that appeared in BLAST-WarpX#5883, related to
the fact that we add the `clang-tidy` checks automatically from a
matrix, rather than manually as separate jobs in the workflow file.

Note that I had managed to fix a similar issue in the alternative
in-house implementation I had proposed in BLAST-WarpX#5469.

To-do:
- [x] Fix main issue by applying the `if` condition at the `step` level
(rather than the `job` level)
- [x] Remove `cron` schedule for CodeQL workflows (on Sundays at 3:27
AM...?)
- [x] Revert change in .github/workflows/check_changes.yml (implemented
only to test the PR)

Future PRs:
- Skip also CodeQL workflows (C++ and Python files analysis) - not
working yet...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests Tests and CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants