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

ci: run tests against windows as well #837

Merged
merged 6 commits into from
Jan 13, 2023
Merged

ci: run tests against windows as well #837

merged 6 commits into from
Jan 13, 2023

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jan 13, 2023

πŸ”— Linked issue

❓ Type of change

  • 🧹 Chore

πŸ“š Description

There are some significant differences with windows, particularly around file URLs and absolute paths. This is a starting point to test nitro on Windows to catch these issues early.

Here are two key differences noticed so far:

cc: @pi0

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codecov
Copy link

codecov bot commented Jan 13, 2023

Codecov Report

Merging #837 (c79ce4c) into main (7517293) will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
+ Coverage   70.40%   70.53%   +0.13%     
==========================================
  Files          57       57              
  Lines        5295     5295              
  Branches      604      606       +2     
==========================================
+ Hits         3728     3735       +7     
+ Misses       1558     1552       -6     
+ Partials        9        8       -1     
Impacted Files Coverage Ξ”
src/utils/index.ts 51.83% <0.00%> (+0.52%) ⬆️
src/rollup/plugins/externals.ts 94.91% <0.00%> (+0.59%) ⬆️
src/rollup/config.ts 92.28% <0.00%> (+0.93%) ⬆️

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

@pi0
Copy link
Member

pi0 commented Jan 13, 2023

Nice. With #782 I can confirm at leat the tests pass however the way we link modules using junction links is not portable. So it is false report almost. But I think we can accept it as a known limitation at least.

Re etags, my guess is CRLF issue. Which could be fixed.

@pi0 pi0 marked this pull request as ready for review January 13, 2023 21:06
@pi0 pi0 merged commit 2e43d30 into main Jan 13, 2023
@pi0 pi0 deleted the ci/windows branch January 13, 2023 21:07
pi0 added a commit that referenced this pull request Jan 16, 2023
* ci: run tests against windows as well

* ci: skip linting on windows

* ci: run lint separately (so as not to block other tests)

* test: adapt re for windows

* add gitattrs for text files using lf

* disable conflict test for now

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
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