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

Add windows-latest to CI #998

Closed
wants to merge 4 commits into from
Closed

Conversation

jo-elimu
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Feb 23, 2024

‼️ Deploy request for drips-app-v2 rejected.

Name Link
🔨 Latest commit 850923f

@efstajas
Copy link
Contributor

Any specific reason to run svelte-check on macos as well?

@jo-elimu
Copy link
Contributor Author

Any specific reason to run svelte-check on macos as well?

Just to make sure the software compiles for developers using different types of operating systems. We should also add support for developers with Windows machines (windows-latest), but that will require some more code changes.

@jo-elimu
Copy link
Contributor Author

@efstajas Getting "Container action is only supported on Linux": https://github.com/drips-network/app/actions/runs/8027003698/job/21930386799?pr=998

How do developers on Mac OS typically solve this?

@efstajas
Copy link
Contributor

Windows support should be given once #997 is merged.

I don't see how running our GH actions on mac OS in addition to Ubuntu would help ensure cross-platform compatibility of our dev stack. I could see running e.g. E2E tests on Mac OS, but they're executed within a docker container anyway. svelte-check is cross-platform and should return the exact same output no matter what platform it's run on — if not, that's a bug with svelte-check, not with our project.

@jo-elimu jo-elimu changed the title Add macos-latest to CI Add windows-latest to CI Feb 27, 2024
@jo-elimu
Copy link
Contributor Author

jo-elimu commented Feb 27, 2024

Windows support should be given once #997 is merged.

@efstajas The svelte-check seems to be failing with Windows also?: https://github.com/drips-network/app/actions/runs/8064562273/job/22028695015?pr=998

Error: Container action is only supported on Linux

Is there any way we can make the Populate .env file step compatible with Windows also?

@efstajas
Copy link
Contributor

efstajas commented Feb 28, 2024

When I say "windows support should be given" I meant that you can run the app locally on Windows, and npm install should no longer fail. Not talking about the GH actions.

I still don't understand the goal here — what's the benefit of running the svelte-check action on multiple different operating systems?

@efstajas
Copy link
Contributor

efstajas commented Mar 6, 2024

Closing this for now until the above ☝️ is addressed

@efstajas efstajas closed this Mar 6, 2024
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