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

Maybe setup the CI to upload the generated picture as an artifact? #1

Open
ice1000 opened this issue Jun 7, 2022 · 2 comments
Open

Comments

@ice1000
Copy link

ice1000 commented Jun 7, 2022

As title. You may use https://github.com/actions/upload-artifact

@andreasabel
Copy link
Owner

Good idea.
Currently, CI does not actually run the analysis. What is costly is to download all the issues of Agda (which the py script currently does). This is very slow because of GitHub API throttling. I could check in the JSON file with the issues after downloading though, and this could be updated time after time.

You may use actions/upload-artifact

Last time I looked, while one can upload arbitrary files with this action, one can only download these as ZIP files. It would be nicer to publish the PNGs directly.
So maybe instead of CI, I could also check in the PNGs with the JSON file, together with a HTML file that embeds them...

@ice1000
Copy link
Author

ice1000 commented Jun 7, 2022

So maybe instead of CI, I could also check in the PNGs with the JSON file, together with a HTML file that embeds them...

Wow, that would be even better. The agda-stdlib trick may also be useful, as you can commit the png to a particular branch (in which you can delete from time to time to reduce repo size) and refer to it as an imagefile.

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