Skip to content

Skip readthedocs CI if codebase is not affected by PR#2133

Merged
ClaudiaComito merged 11 commits intomainfrom
workflows/2070-Skip_ReadTheDocs_tests_on_automation_changes
Feb 18, 2026
Merged

Skip readthedocs CI if codebase is not affected by PR#2133
ClaudiaComito merged 11 commits intomainfrom
workflows/2070-Skip_ReadTheDocs_tests_on_automation_changes

Conversation

@ClaudiaComito
Copy link
Contributor

@ClaudiaComito ClaudiaComito commented Feb 18, 2026

Due Diligence

  • General:
  • Implementation:
    • unit tests: all split configurations tested
    • unit tests: multiple dtypes tested
    • NEW unit tests: MPS tested (1 MPI process, 1 GPU)
    • benchmarks: created for new functionality
    • benchmarks: performance improved or maintained
    • documentation updated where needed

Description

This PR modifies .readthedocs.yaml to skip the ReadTheDocs test build for those PRs that don't modify the codebase (dependencies updates, GH actions etc.)

Background: merging dependabot PRs has become a huge pain because of (among other things) the multiple ReadTheDocs builds trying and failing to run concurrently.

Issue/s resolved: #2070

Changes proposed:

  • searches diff for changes in relevant folders (heat/, doc/, examples/, tutorials/). If no changes, cancel readthedocs CI

Type of change

Memory requirements

Performance

Does this change modify the behaviour of other functions? If so, which?

no

@ClaudiaComito ClaudiaComito changed the title Attemot to skip readthedocs CI if codebase not affected by PR Attempt to skip readthedocs CI if codebase not affected by PR Feb 18, 2026
@ClaudiaComito ClaudiaComito changed the title Attempt to skip readthedocs CI if codebase not affected by PR Skip readthedocs CI if codebase is not affected by PR Feb 18, 2026
@ClaudiaComito ClaudiaComito added this to the 1.7.1 milestone Feb 18, 2026
@ClaudiaComito ClaudiaComito added chore CI continuous integration labels Feb 18, 2026
@ClaudiaComito
Copy link
Contributor Author

@JuanPedroGHM I hope this works but can only really test it once merged.

@ClaudiaComito ClaudiaComito moved this from Todo to In Progress in Roadmap Feb 18, 2026
@JuanPedroGHM
Copy link
Member

Hi. This seems like a duplicate of #2017? Let's merge this one and close the other one.

@github-project-automation github-project-automation bot moved this from In Progress to Merge queue in Roadmap Feb 18, 2026
Copy link
Collaborator

@brownbaerchen brownbaerchen left a comment

Choose a reason for hiding this comment

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

LGTM, thank a lot!

@ClaudiaComito
Copy link
Contributor Author

Hi. This seems like a duplicate of #2017? Let's merge this one and close the other one.

#2071 , yes you're right, that one didn't work right off the bat and I didn't feel like debugging copilot's code. I just closed #2071

@ClaudiaComito
Copy link
Contributor Author

ClaudiaComito commented Feb 18, 2026

Thanks @JuanPedroGHM and @brownbaerchen for the quick approval. The pain is real! 😂 The second approval restarted the CI matrix, which reminds me, that's also a huge pain. Working on it.

@brownbaerchen
Copy link
Collaborator

Thanks @JuanPedroGHM and @brownbaerchen for the quick approval. The pain is real! 😂 The second approval restarted the CI matrix, which reminds me, that's also a huge pain. Working on it.

I guess this can also be fixed simply by running the CI on push and PR rather than on approval.

@ClaudiaComito
Copy link
Contributor Author

Thanks @JuanPedroGHM and @brownbaerchen for the quick approval. The pain is real! 😂 The second approval restarted the CI matrix, which reminds me, that's also a huge pain. Working on it.

I guess this can also be fixed simply by running the CI on push and PR rather than on approval.

Not in its current state, too many jobs, otherwise agreed.

@ClaudiaComito ClaudiaComito merged commit 908f05c into main Feb 18, 2026
149 of 168 checks passed
@github-project-automation github-project-automation bot moved this from Merge queue to Done in Roadmap Feb 18, 2026
@ClaudiaComito ClaudiaComito deleted the workflows/2070-Skip_ReadTheDocs_tests_on_automation_changes branch February 18, 2026 12:52
ClaudiaComito added a commit that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore CI continuous integration

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Skip ReadTheDocs tests on automation changes

3 participants