Skip to content

fix(tests): use relative path in test_data_hyper_cleaning (fixes #28) - #86

Open
SAY-5 wants to merge 1 commit into
callous-youth:mainfrom
SAY-5:fix/test-hardcoded-runner-path
Open

fix(tests): use relative path in test_data_hyper_cleaning (fixes #28)#86
SAY-5 wants to merge 1 commit into
callous-youth:mainfrom
SAY-5:fix/test-hardcoded-runner-path

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown

Fixes #28.

examples/data_hyper_cleaning/test_data_hyper_cleaning.py hard-codes /home/runner/work/BOAT/BOAT/examples/data_hyper_cleaning/data_hyper_cleaning.py (the GitHub Actions runner path) in three subprocess invocations, so the suite cannot run locally. Replace the three literals with a single SCRIPT_PATH resolved via os.path.dirname(__file__), matching the layout of the example directory and working under both the CI runner and local checkouts.

@callous-youth callous-youth added the duplicate This issue or pull request already exists label Jul 20, 2026
@SAY-5
SAY-5 force-pushed the fix/test-hardcoded-runner-path branch from e34d94f to e07a7c9 Compare July 27, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] FileNotFoundError during local test execution due to hardcoded absolute path in test_data_hyper_cleaning.py

2 participants