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

test: fix e2e commands on Windows #10403

Merged
merged 1 commit into from Mar 24, 2023
Merged

test: fix e2e commands on Windows #10403

merged 1 commit into from Mar 24, 2023

Conversation

milas
Copy link
Contributor

@milas milas commented Mar 24, 2023

What I did
Ensure make e2e-compose works on Windows/PowerShell.

Instead of trying to make this work nicely cross-platform, just push the Coverage logic into the GitHub Actions job, as that's really where we care about it.

(It's surprisingly difficult to make this nicely portable; to make PowerShell not error out if the path does not exist you have to ignore ALL errors and the way that env vars are passed to processes is not the same.)

(not mandatory) A picture of a cute animal, if possible in relation to what you did
a seal looking confused

Instead of trying to make this work nicely cross-platform,
just push the Coverage logic into the GitHub Actions job,
as that's really where we care about it.

(It's surprisingly difficult to make this nicely portable;
to make PowerShell not error out if the path does not exist
you have to ignore ALL errors and the way that env vars are
passed to processes is not the same.)

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas requested a review from a team March 24, 2023 15:53
@milas milas self-assigned this Mar 24, 2023
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team March 24, 2023 15:53
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (45a852f) 60.11% compared to head (3b85cd2) 60.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2   #10403   +/-   ##
=======================================
  Coverage   60.11%   60.11%           
=======================================
  Files         104      104           
  Lines        9005     9005           
=======================================
  Hits         5413     5413           
  Misses       3025     3025           
  Partials      567      567           

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@milas milas merged commit cc70851 into docker:v2 Mar 24, 2023
24 checks passed
@milas milas deleted the fix-e2e-win branch March 24, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants