Skip to content

gh-756: Run reg tests for relevant changes#774

Merged
paddyroddy merged 6 commits intomainfrom
connor/only-run-reg-test-for-relevant-changes
Nov 13, 2025
Merged

gh-756: Run reg tests for relevant changes#774
paddyroddy merged 6 commits intomainfrom
connor/only-run-reg-test-for-relevant-changes

Conversation

@connoraird
Copy link
Contributor

@connoraird connoraird commented Nov 13, 2025

Description

Somehow this was missed. According to #756, we should only be running regression tests for relevant file changes (glass/* or dependencies i.e. pyproject.toml)

Fixes: #756

Checks

  • Is your code passing linting?
  • Is your code passing tests?
  • Have you added additional tests (if required)?
  • Have you modified/extended the documentation (if required)?
  • Have you added a one-liner changelog entry above (if required)?

@connoraird connoraird self-assigned this Nov 13, 2025
@connoraird connoraird added bug Something isn't working benchmarks Benchmarking work labels Nov 13, 2025
@connoraird connoraird force-pushed the connor/only-run-reg-test-for-relevant-changes branch from 2d979b9 to 60c5569 Compare November 13, 2025 11:06
@connoraird connoraird force-pushed the connor/only-run-reg-test-for-relevant-changes branch from 60c5569 to 01af4e6 Compare November 13, 2025 15:17
on:
pull_request:
paths:
- .github/workflows/regression-test.yml
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- .github/workflows/regression-test.yml
- .github/workflows/regression-test.yaml


on:
pull_request:
paths:
Copy link
Member

Choose a reason for hiding this comment

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

Is this list definitely exhaustive? Always a bit nervous doing this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I suppose the noxfile.py too and the benchmarks once they are merged into this repo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The issue with not having this is we will end up running a lot of actions for no reason as we have tests and regression tests.

Copy link
Member

Choose a reason for hiding this comment

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

Appreciate that, but good to make sure we have all relevant paths

Copy link
Member

Choose a reason for hiding this comment

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

tests/conftest.py too?

Copy link
Member

@paddyroddy paddyroddy left a comment

Choose a reason for hiding this comment

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

Thanks for sorting

@paddyroddy paddyroddy merged commit e00e4b9 into main Nov 13, 2025
8 of 14 checks passed
@paddyroddy paddyroddy deleted the connor/only-run-reg-test-for-relevant-changes branch November 13, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarks Benchmarking work bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run regression tests for PRs

2 participants