whatwg / spec-factory

WHATWG Standard repository templates and infrastructure
Creative Commons Zero v1.0 Universal
34 stars 33 forks source link

Add GitHub Actions build.yml template #14

Closed foolip closed 4 years ago

foolip commented 4 years ago

Also remove any files that are part of the Travis setup.

Part of https://github.com/whatwg/meta/issues/173.

domenic commented 4 years ago

This probably needs exceptions for streams and encoding at least, to not generate a deploy.yml for them since they are special.

foolip commented 4 years ago

It looks like encodings is different only in that it requires Python 3.8, but https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu2004-README.md already has 3.8. It's not as locked down as picking a version we want using actions/setup-python@v2, but is likely to work fine in practice. The same with anything needing node, actually, since some version is available by default.

foolip commented 4 years ago

For streams there's already an exception to not process it at all in factory.py, so that one's OK.

andreubotella commented 4 years ago

For streams there's already an exception to not process it at all in factory.py, so that one's OK.

That shouldn't stay there for much longer, since whatwg/streams#1035 is now merged.

foolip commented 4 years ago

I've tweaked this a bit and it seems to work when run: https://github.com/whatwg/encoding/pull/218 https://github.com/whatwg/fullscreen/pull/175

Sort of, one can tell from the directory names that something's wrong.

foolip commented 4 years ago

I've fixed a problem and created some more PRs using the branch which look good: https://github.com/whatwg/compat/pull/126 https://github.com/whatwg/console/pull/178 https://github.com/whatwg/dom/pull/872 https://github.com/whatwg/fetch/pull/1037

I think this is ready to land now, I don't want to create more PRs without landing the existing ones and confirm them working, in case some additional tweaks are needed.

foolip commented 4 years ago

Blush. After the first two worked I eagerly commented before the second two had finished on the assumption they would run. I'll investigate why the did not.

foolip commented 4 years ago

Explaining the appearance of Travis being stuck on multiple PRs, as in https://github.com/whatwg/compat/pull/126#issuecomment-643360783.

For most repos the Travis status is required by branch protection. That makes the status appear to be pending even though it won't be triggered. For each repo I handle, I'll update the branch protection as I land the change.