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

Refactor windows workflow to work on standard windows #6190

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

thiagocrepaldi
Copy link

Currently the windows workflows require bash installed, which is not standard o windows - not to say unusual to have a linux shell as a windows dependency.

it also modifies some syntaxes that seems to fail on windows 11 powershell sessions, like the &&

Lastly, some git authentication hack was modified as it should not be needed to perform git submodule update

Currently the windows workflows require bash installed, which is not
standard o windows - not to say unusual to have a linux shell as a
windows dependency.

it also modifies some syntaxes that seems to fail on windows 11
powershell sessions, like the &&

Lastly, some git authentication hack was modified as it should not be
eeded to perform git submodule update
@thiagocrepaldi thiagocrepaldi requested a review from a team as a code owner June 18, 2024 17:58
Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.09%. Comparing base (83194ed) to head (ce7c941).
Report is 53 commits behind head on main.

Current head ce7c941 differs from pull request most recent head 891e41d

Please upload reports for the commit 891e41d to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6190      +/-   ##
==========================================
+ Coverage   56.95%   57.09%   +0.14%     
==========================================
  Files         506      506              
  Lines       30467    30974     +507     
  Branches     4592     4603      +11     
==========================================
+ Hits        17353    17686     +333     
- Misses      12285    12464     +179     
+ Partials      829      824       -5     

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

python -m pip install -q onnxruntime==1.17.3
$Env:ORT_MAX_IR_SUPPORTED_VERSION=9
$Env:ORT_MAX_ML_OPSET_SUPPORTED_VERSION=3
$Env:ORT_MAX_ONNX_OPSET_SUPPORTED_VERSION=20
pytest

- name: Clean Workspace
if: always()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this required?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is not always guaranteed to have a clean workspace in all github instances.
One example is github enterprise :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, somehow i missed the github notifications for this pr

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. check if the updated checkout step solves this? If not feel free to add the step back with comments for future readers. Thanks!

@justinchuby
Copy link
Contributor

Lgtm thanks! One comment to clarify the cleaning step. Not sure why it is needed yet.

@xadupre xadupre enabled auto-merge June 19, 2024 08:37
@justinchuby
Copy link
Contributor

I still think we need to understand why the Clean Workspace step is needed. In theory the checkout workflow should have inserted a clean up step already

@justinchuby justinchuby added the run release CIs Use this label to trigger release tests in CI label Jun 21, 2024
.github/workflows/release_win.yml Outdated Show resolved Hide resolved
.github/workflows/win_no_exception_ci.yml Outdated Show resolved Hide resolved
@justinchuby justinchuby added this pull request to the merge queue Jun 21, 2024
Merged via the queue into onnx:main with commit 4c3ed5e Jun 21, 2024
36 of 66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run release CIs Use this label to trigger release tests in CI
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants