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

Run CI on Github actions #7654

Merged
merged 3 commits into from
Sep 6, 2021
Merged

Run CI on Github actions #7654

merged 3 commits into from
Sep 6, 2021

Conversation

jonkoops
Copy link
Collaborator

@jonkoops jonkoops commented Sep 3, 2021

Depends on #7653 as a package-lock.json file is needed to run npm ci. Allows running the CI on Github actions instead of Travis, as it looks like the Travis builds are not running. Added benefit is that forks can use the same configuration to run CI without having to set up Travis and change the source.

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this! Closes #7611. I merged #7653 so let's rebase again.

.github/workflows/main.yml Outdated Show resolved Hide resolved
@jonkoops
Copy link
Collaborator Author

jonkoops commented Sep 6, 2021

Thanks for looking into this! Closes #7611. I merged #7653 so let's rebase again.

Interesting, I hadn't even spotted this issue yet. PR is rebased and review comments have been processed.

@mourner
Copy link
Member

mourner commented Sep 6, 2021

Not sure why it doesn't run now — maybe because it's a third party PR, but let's merge and see what happens.

@mourner mourner merged commit 2f70965 into Leaflet:master Sep 6, 2021
@jonkoops jonkoops deleted the feature/github-actions branch September 6, 2021 13:58
@mourner
Copy link
Member

mourner commented Sep 6, 2021

Running great — took just 49s for the uncached job! https://github.com/Leaflet/Leaflet/runs/3525418592

@jonkoops
Copy link
Collaborator Author

jonkoops commented Sep 6, 2021

@mourner Nice, that is a lot faster than I expected!

@jonkoops
Copy link
Collaborator Author

jonkoops commented Sep 6, 2021

It looks like the tests only ran on PhantomJS though, I guess that is not entirely correct considering the browser parameters passed in. This might be related to my changes to the scripts in the package.

I'll open up a separate PR to debug this, hopefully that will just run the task now that an initial version was merged.

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