mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
fix(ci): skip placeholder-integrity tests on forks in python-tests (#407)
Add @unittest.skipIf on GITHUB_REPOSITORY to TestCvSentinelsAreDataLocated and TestProfileSentinelIsDataLocated so python-tests matches the upstream-only placeholder-integrity job. Default unset GITHUB_REPOSITORY to upstream so local pristine-template runs still execute the guards. Fixes MadsLorentzen/ai-job-search#405 Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: shahidbeig-a11y <shahidbeig-a11y@users.noreply.github.com>
This commit is contained in:
co-authored by
Cursor Agent
shahidbeig-a11y
parent
7f709eda57
commit
6f0178a8a1
@@ -41,6 +41,13 @@ per-file diff commands.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Placeholder-integrity tests in `python-tests` now skip on forks** (#405) - the dedicated
|
||||
`placeholder-integrity` job already gates on the upstream repo name, but `python-tests` ran
|
||||
`unittest discover` with no such guard, so forks that personalized files via `/setup` failed
|
||||
three sentinel checks permanently. Both test classes now use `@unittest.skipIf` on
|
||||
`GITHUB_REPOSITORY` (defaulting to upstream when unset so local pristine-template runs still
|
||||
execute).
|
||||
|
||||
- **`convert_salary_excel.py` no longer mistakes a title/citation row for the header row**
|
||||
(#414) - header-row detection accepted the first row in the first 10 where *any* cell merely
|
||||
contained a company-pattern word, with no check that the row actually looked like a header. A
|
||||
|
||||
Reference in New Issue
Block a user