Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Executable path validation tests should not be dependent on the user environment #25

Merged
merged 10 commits into from
Sep 19, 2024

Conversation

msto
Copy link
Collaborator

@msto msto commented Sep 18, 2024

Closes #20

Homebrew installation of the GNU coreutils caused a conflict with expectation in the ExecutableRunner validation tests.

Tests were updated to clear the PATH before executing.

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.37%. Comparing base (dd844f5) to head (5062706).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   97.37%   97.37%           
=======================================
  Files          25       25           
  Lines        1597     1597           
  Branches      302      302           
=======================================
  Hits         1555     1555           
  Misses         23       23           
  Partials       19       19           

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

@tfenne
Copy link
Member

tfenne commented Sep 18, 2024

@geoffjentry Could you review this one instead of me please?

@tfenne tfenne assigned geoffjentry and unassigned tfenne Sep 18, 2024
@msto msto requested a review from geoffjentry September 18, 2024 20:51
tests/util/test_executable_runner.py Outdated Show resolved Hide resolved
@msto msto force-pushed the ms_fix-executable-tests branch from 27caf18 to 122cb80 Compare September 19, 2024 13:44
@msto msto requested a review from geoffjentry September 19, 2024 13:58
Base automatically changed from ms_bump-lockfile to main September 19, 2024 16:05
@msto msto force-pushed the ms_fix-executable-tests branch from dc54e6f to 3348b7c Compare September 19, 2024 16:06
@msto msto assigned tfenne and unassigned geoffjentry Sep 19, 2024
@msto msto force-pushed the ms_fix-executable-tests branch from 3348b7c to 5062706 Compare September 19, 2024 17:31
@msto msto merged commit 8f151a0 into main Sep 19, 2024
4 checks passed
@msto msto deleted the ms_fix-executable-tests branch September 19, 2024 17:34
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.

test_validate_executable_path fails locally
3 participants