Switch to GitHub Actions from Travis #2109
Conversation
This is a work in progress. Still need to add a deploy workflow and remove the Travis config.
|
@tomchristie I believe you need to enable "Actions" for the entire org. Go to the mkdocs organization page, select the "Settings" tab (which is not available to me), select "Actions" from the sidebar, ensure the "Enable local & third party Actions for this organization" option is checked and click "Save". Note that in another project of mine, the "Enable local & third party Actions for this organization" was already selected, but things didn't work until after I "saved" it. Once you do that once, it should be good going forward. Please report back here afterward so I can push another change to trigger a run. Thanks. |
|
Done. |
|
Switched you to owner on the org too, not sure why we’d not done that before really. |
|
Something is still preventing the actions from running. Not sure what. I don't see any errors in the config file. If anyone else whats to take a look, fell free. |
|
If you were to create a branch directly on the repo does it work? |
|
@waylan Try removing the "tags" section? Try replacing the top condition with something like
|
|
@epicfaace it's not that because I have it set up the same way with no issues: https://github.com/facelessuser/soupsieve/blob/master/.github/workflows/build.yml. |
|
@epicfaace, I see you've uploaded a test. You'll see that it doesn't work either. I'm pretty certain that if a branch was created directly on the |
Based on my testing, this is not a factor. It works either way assuming there are no other issues. |
|
You're probably right. When the actions work, they work pretty good, but when they don't it can be cryptic why it fails. That is probably my one complaint. On a lesser note, sometimes certain combinations you'd expect to work one way, and it seems to not work that way at all. It can be surprising at times. |
I decided to test this and created a PR on my own fork. Sure enough, the checks began to run immediately. Still having a weird issue with PYPY3 and Windows though. Once I get that worked out, I'll move it to here. Any help with the issue would be appreciated as it has me stumped. |
It is nice to have that theory confirmed.
I'll see if I can squirrel away some time and see if anything stands out to me. |
|
Turns out the problem with pypy is a known bug, which has been fixed and should be available in the next release of pypy. See tox-dev/tox#1704 for details. In the meantime, I disabled running the Windows/pypy combination of tests. With that, everything it working now at waylan#4. |
|
I'm closing this in favor of #2223, which is on a branch of the mkdocs project within the org rather than from an external fork. Of course, the checks ran upon creating the PR. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

This is a work in progress.
Still need to add a deploy workflow and remove the Travis config.
Addresses #2032.