-
Notifications
You must be signed in to change notification settings - Fork 64
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
GitHub Actions: test and doc #317
Conversation
@umarcor - Could you rebase this change onto master? |
@mithro, done. Note: the first time GitHub Actions creates gh-pages, the content is not automatically published. An owner (not a contributor) of this repo needs to push to gh-pages once, for GitHub Pages to be triggered. From there on, updates committed by GitHub Actions will be automatically picked. For that first push, do the following: git fetch --all
git checkout -b gh-pages origin/gh-pages
git commit --amend --reset-author
git push origin +gh-pages |
@umarcor -- There isn't an upstream |
@mithro, you are correct. I configured it for running the workflow on Regarding the failing macOS test, it seems that #316 had not reached the rate limit yet, but it did now. I will investigate how to retrieve the required metadata while minimizing the number of API calls. GitHub API v4 allows quite complex request to be done at once. |
@umarcor - Is there a way to get the uploaded docs to appear in the "This branch has not been deployed" section of the GitHub UI? |
@mithro, not exactly. However, if you wait until work "doc / sphinx (pull_request)" is green, clicking on "Details" will take you to the page where the artifact is displayed. See top-right corner of the "log box": https://github.com/im-tomu/fomu-workshop/pull/317/checks?check_run_id=1212784095. Artifacts are also shown one level above: https://github.com/im-tomu/fomu-workshop/actions/runs/290651865. Is this what you meant? |
I have always been very confused at how the |
Because we want it to be as compatible with as many old systems as possible. |
@mithro, now Once you do it, the deployments page will change to something similar to https://github.com/ghdl/ghdl-cosim/deployments EDIT A better example, my fork: |
@umarcor -- Does it appear to be working now? |
@mithro, I would say that one of dependabot's branches was automatically updated. That updated However, the deployments page does not exist yet: https://github.com/im-tomu/fomu-workshop/deployments. That's because no owner commited to |
Note that we can prevent branches other than |
@umarcor - That seems sensible, please do so! |
Fixes #142
A GitHub Actions workflow named 'doc' is added for building the docs.
gh-pages
.username.github.io/fomu-workshop
.