-
Notifications
You must be signed in to change notification settings - Fork 294
Add GitHub Actions workflow for tox #527
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
Merged
jgraham
merged 19 commits into
html5lib:master
from
jayaddison:github-workflows/python-tox
May 19, 2021
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2368f23
Add GitHub Actions package build workflow that invokes 'tox'
jayaddison 19ade46
Checkout git submodules during build workflow
jayaddison e09d0ca
Add setup of all supported Python interpreters to GitHub Actions work…
jayaddison c77658d
Enable parallel tox builds, with spinner disabled
jayaddison e9cc226
Include Python2.7 + PyPy build environment
jayaddison 12fed91
Enable stdout output from tox in parallel mode
jayaddison c217133
Prevent repository-internal pull requests from running duplicate tox …
jayaddison 8dee9f0
Experiment: move Python environment list from tox into GitHub Actions…
jayaddison 57a9c1a
Disable tox parallel run mode
jayaddison 4ef39c4
Fixup: trailing list bracket
jayaddison 808f7c6
Revert "Fixup: trailing list bracket"
jayaddison 8040d95
Revert "Disable tox parallel run mode"
jayaddison 86f80bc
Revert "Experiment: move Python environment list from tox into GitHub…
jayaddison e6ccea7
Duplicate Python environment list from tox in GitHub Actions matrix s…
jayaddison f18776c
Disable tox parallel run mode
jayaddison 90139eb
Request a single Python environment (the current default Python inter…
jayaddison 19cf7f7
Fixup: trailing list bracket
jayaddison 92b4b90
Always print html5lib debug info at the end of GitHub Actions build
jayaddison 753bc08
Merge branch 'master' into github-workflows/python-tox
jayaddison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
on: [pull_request, push] | ||
jobs: | ||
build: | ||
# Prevent duplicate builds for 'internal' pull requests on existing commits | ||
# Credit: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012 | ||
if: github.event.push || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python: [2.7, 3.5, 3.6, 3.7, 3.8, pypy-2.7, pypy3] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- run: pip install tox | ||
- run: tox -e py | ||
- if: ${{ always() }} | ||
run: python debug-info.py |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB for review: do
pypy-2.7
andpypy3
respectively correspond topypy
andpypy3
as previously listed intox.ini
?