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

Move tests to GitHub Actions, add Windows Tests #127

Open
karlhorky opened this issue Jan 29, 2021 · 11 comments
Open

Move tests to GitHub Actions, add Windows Tests #127

karlhorky opened this issue Jan 29, 2021 · 11 comments
Assignees

Comments

@karlhorky
Copy link

karlhorky commented Jan 29, 2021

From #124:

karlhorky: what do you think about adding Windows end-to-end tests to install-peerdeps? To catch any errors like this in the future? GitHub Actions and seemingly also Travis CI have the ability to run on Windows...

nathanleung: I think that's a great idea — don't want to break this package for Windows users in the future if I don't have to.

ljharb: travis-ci is slow and dying; i'd suggest github actions. I can convert the existing tests to github actions if @nathanhleung is OK with that; windows tests can go in separately/in parallel as a separate workflow.

nathanleung: It would be awesome if you could do that, thanks!

karlhorky: Cool, if this is the way to go, maybe that could be done with a matrix - here's our approach for Preflight: https://github.com/upleveled/preflight/blob/main/.github/workflows/build-lint-test.yml#L7-L10

cc @ljharb @nathanhleung

@ljharb
Copy link
Collaborator

ljharb commented Jan 29, 2021

I'll make a PR soon that converts the tests to GH.

@ljharb ljharb self-assigned this Jan 29, 2021
@nathanhleung
Copy link
Owner

I'll make a PR soon that converts the tests to GH.

Thank you!

@karlhorky
Copy link
Author

Hey @ljharb I guess no time to work on this one yet, right?

Would really like to have some failing tests so that we can iron out the Windows dependency problems here, which are not very visible to many users probably, but can cause big issues dependency versions (facebook/create-react-app#10465 (comment)).

Originally I thought that #126 fixed the issue, but after checking again, I've found incorrect versions are still getting installed on Windows - see my comment.

@ljharb
Copy link
Collaborator

ljharb commented Mar 31, 2021

No, I haven't had time yet, unfortunately. However, I've recently made some updates to my shared actions that should make the job much easier :-) I'll plan to take a crack at it today.

@ljharb
Copy link
Collaborator

ljharb commented Mar 31, 2021

Got a branch in progress; looks like some tests are failing tho (which were passing on master 2 months ago).

@ljharb
Copy link
Collaborator

ljharb commented Apr 2, 2021

Put up the PR: #139. Some help debugging the pnpm failures would be appreciated.

@karlhorky
Copy link
Author

karlhorky commented Apr 2, 2021

Nice, thanks! I'll try to get some time to take a look soon! Maybe we can make a test case for this eslint-config-react-app issue (either as part of this or in a followup PR)

@ljharb
Copy link
Collaborator

ljharb commented Apr 2, 2021

I'd like to get the tests migrated off travis first; after which extending them with more cases, or on more platforms, would be great.

@karlhorky
Copy link
Author

Great, now that #139 has been merged, we just have:

  1. Add Windows tests
  2. Add test for eslint-config-react-app to test situations like yarn start throws error message after installing eslint-config-react-app facebook/create-react-app#10465

@karlhorky
Copy link
Author

karlhorky commented Oct 8, 2022

@ljharb do you think you'll have time in the next weeks / months to add Windows tests?

Would be great to get these tests so that the ERR undefined issue on Windows can finally be reproduced, investigated and fixed (issues #228, #193, #150, #128)

@ljharb
Copy link
Collaborator

ljharb commented Oct 8, 2022

I’d be happy to review a PR, but i have no windows machines so I’m probably not the best person to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants