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

Use github actions as CI #361

Closed
s-weigand opened this issue Dec 6, 2019 · 9 comments
Closed

Use github actions as CI #361

s-weigand opened this issue Dec 6, 2019 · 9 comments

Comments

@s-weigand
Copy link
Contributor

Last month github released github actions as CI service and the test runners are a lot more 'buffed' than the ones on travis or circleCI. Also you can run up to 20 concurrent builds, which would greatly reduce the time you need to wait for the CI results (especially on MacOs). It also supports artifact upload, which I think is the only use of the CircleCi test.
If you want to change your CI service I can make a PR for that, since I'm pretty used to it by now, after transitioning most of my own projects.

@mgeier
Copy link
Member

mgeier commented Dec 6, 2019

Yes please, that would be great!

It also supports artifact upload, which I think is the only use of the CircleCi test.

Well yes, and it also tests if the artifacts can be built in the first place, especially the PDF version.

The real point isn't artifact uploading, but the automatic hosting of the artifacts (without jumping through hoops). Can Github Actions do that, too?

@s-weigand
Copy link
Contributor Author

I don't fully understand the automatic hosting part 😅
The Actions themselves aren't public (you need to be logged into github to see them) for security reasons, so external resources can't access them.
But you can upload artifacts in a job and download them from it as well (see).

@mgeier
Copy link
Member

mgeier commented Dec 6, 2019

With "automatic hosting" I mean that the artifacts are provided for direct download by the Action itself, without having to upload it to some user-specified third-party server.

The upload-artifact action seems to do that, but it looks like it provides all artifacts as .zip archives, which is totally annoying.
I would like to get a link to a PDF where I can click on and see the PDF, without having to download a .zip file and unpacking it.

Same for the HTML files. Getting them as .zip file would be annoying, wouldn't it?

But anyway, it would still be nice to replace Travis-CI with Github Actions!

@s-weigand
Copy link
Contributor Author

I see your point and there is quite a huge demand for that feature hopefully v2 will be out sometime soon, until then CircleCi seems more practical.

@mgeier
Copy link
Member

mgeier commented Dec 16, 2019

See also #358.

@s-weigand
Copy link
Contributor Author

Looks like v2 will get the option to host single files, I will postpone the work on this and see how it plays out. 'mid-January' isn't far anyway 😋

@mgeier
Copy link
Member

mgeier commented Apr 30, 2020

Just a little update: It is now possible to upload single files and whole directories without zipping them, but the Github GUI cannot yet display them properly. For now, each artifact is still provided as ZIP files.

@s-weigand
Copy link
Contributor Author

Thx for the info, I saw that there was an update, but I didn't yet have time to play around with it and see how it goes.

@mgeier
Copy link
Member

mgeier commented May 4, 2024

I think this can be closed, any follow-up discussions can be held at #495.

@mgeier mgeier closed this as completed May 4, 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

No branches or pull requests

2 participants