Skip to content

CI: don't trigger tests for "on push" if changes only in docs folder or markdown files; move devops_tests and pre-commit jobs to a separate workflow#1635

Merged
slayoo merged 3 commits into
mainfrom
AgnieszkaZaba-docs-ignore
May 30, 2025
Merged

CI: don't trigger tests for "on push" if changes only in docs folder or markdown files; move devops_tests and pre-commit jobs to a separate workflow#1635
slayoo merged 3 commits into
mainfrom
AgnieszkaZaba-docs-ignore

Conversation

@AgnieszkaZaba

@AgnieszkaZaba AgnieszkaZaba commented May 30, 2025

Copy link
Copy Markdown
Collaborator

As in GitHub-actions documentation.

@slayoo slayoo changed the title on push: ignore tests if changes are only in docs folder CI tests trigger for "on push": don't run if changes only in docs folder May 30, 2025
@slayoo

slayoo commented May 30, 2025

Copy link
Copy Markdown
Member

@AgnieszkaZaba , thanks!
we should then move precommit and devops jobs to another file since these two (which will anyhow be merged into one soon) do check contents of the docs folder as well

@AgnieszkaZaba

Copy link
Copy Markdown
Collaborator Author

And we should add README.md file to be ignored as well.

@codecov

codecov Bot commented May 30, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.53%. Comparing base (3bb71c1) to head (b165b8a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1635   +/-   ##
=======================================
  Coverage   85.53%   85.53%           
=======================================
  Files         396      396           
  Lines        9601     9601           
=======================================
  Hits         8212     8212           
  Misses       1389     1389           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@slayoo slayoo changed the title CI tests trigger for "on push": don't run if changes only in docs folder CI: don't trigger tests for "on push" if changes only in docs folder or markdown files; move devops_tests and pre-commit jobs to a separate workflow May 30, 2025
@slayoo slayoo merged commit fa0a03f into main May 30, 2025
27 of 112 checks passed
@slayoo

slayoo commented May 30, 2025

Copy link
Copy Markdown
Member

thanks @AgnieszkaZaba !

@AgnieszkaZaba AgnieszkaZaba deleted the AgnieszkaZaba-docs-ignore branch May 30, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants