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

cross-platform test setup via shelljs #1481

Merged
merged 4 commits into from
May 24, 2018

Conversation

tivac
Copy link
Contributor

@tivac tivac commented May 17, 2018

My attempt at solving #1478

  • Using shelljs instead of raw shell commands
  • Removing the usage of alias since there isn't a good cross-platform version of that
  • Require changing all the .sh files so they aren't quite complete commands any more, hopefully they're still close enough.

I'm still getting local failures that look like line-ending differences, but the file contents & directory structure look correct now.

@codecov-io
Copy link

codecov-io commented May 17, 2018

Codecov Report

Merging #1481 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1481   +/-   ##
=======================================
  Coverage   91.15%   91.15%           
=======================================
  Files         124      124           
  Lines        4579     4579           
  Branches     1443     1443           
=======================================
  Hits         4174     4174           
  Misses        159      159           
  Partials      246      246

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6300ee...5f156fd. Read the comment docs.

});

done();
// });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, I left in some cruft from my experimentation. Will remove when I get a chance!

@Conduitry
Copy link
Member

I think we're good to go now, I've gotten the tests all passing. Thanks for the shelljs suggestion @tivac and for the PR!

@Conduitry
Copy link
Member

Just did a touch more tidying. Removed the cruft and also made it so that the test samples can once again be full commands (including the svelte ... part).

@Rich-Harris Rich-Harris merged commit 80077c1 into sveltejs:master May 24, 2018
@Rich-Harris
Copy link
Member

🙏

@tivac tivac deleted the windows-cli-tests branch June 25, 2018 05:44
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.

4 participants