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

Make PythonStandardRunner include curr dir by default #133

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

giovanni-guidini
Copy link
Contributor

Turns out that when you package the CLI in PyInstaller, if you don't have the curr dir in PATH there's a high probability that pytest will fail because of the pytest plugins (it won't find them)

So it's better to add the current dir by default to avoid issues.

On top of that also adding params in the runner interface so we can log the params of the selected runner.

Turns out that when you package the CLI in PyInstaller, if you don't have the curr dir in PATH
there's a high probability that pytest will fail because of the pytest plugins (it won't find them)

So it's better to add the current dir by default to avoid issues.

On top of that also adding `params` in the runner interface so we can log the params of the selected runner.
@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Merging #133 (7a8457e) into master (54155a2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #133   +/-   ##
=======================================
  Coverage   94.58%   94.58%           
=======================================
  Files          64       64           
  Lines        2013     2014    +1     
=======================================
+ Hits         1904     1905    +1     
  Misses        109      109           
Flag Coverage Δ
python3.10 94.58% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
codecov_cli/runners/python_standard_runner.py 100.00% <ø> (ø)
codecov_cli/commands/labelanalysis.py 66.66% <100.00%> (ø)
codecov_cli/runners/types.py 83.33% <100.00%> (+1.51%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@giovanni-guidini giovanni-guidini merged commit 62abfb1 into master Apr 28, 2023
@giovanni-guidini giovanni-guidini deleted the gio/include_curr_dir_by_default branch April 28, 2023 14:03
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.

2 participants