- Notifications
You must be signed in to change notification settings - Fork303
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
19 commits Select commitHold shift + click to select a range
2368f23 Add GitHub Actions package build workflow that invokes 'tox'
jayaddison19ade46 Checkout git submodules during build workflow
jayaddisone09d0ca Add setup of all supported Python interpreters to GitHub Actions work…
jayaddisonc77658d Enable parallel tox builds, with spinner disabled
jayaddisone9cc226 Include Python2.7 + PyPy build environment
jayaddison12fed91 Enable stdout output from tox in parallel mode
jayaddisonc217133 Prevent repository-internal pull requests from running duplicate tox …
jayaddison8dee9f0 Experiment: move Python environment list from tox into GitHub Actions…
jayaddison57a9c1a Disable tox parallel run mode
jayaddison4ef39c4 Fixup: trailing list bracket
jayaddison808f7c6 Revert "Fixup: trailing list bracket"
jayaddison8040d95 Revert "Disable tox parallel run mode"
jayaddison86f80bc Revert "Experiment: move Python environment list from tox into GitHub…
jayaddisone6ccea7 Duplicate Python environment list from tox in GitHub Actions matrix s…
jayaddisonf18776c Disable tox parallel run mode
jayaddison90139eb Request a single Python environment (the current default Python inter…
jayaddison19cf7f7 Fixup: trailing list bracket
jayaddison92b4b90 Always print html5lib debug info at the end of GitHub Actions build
jayaddison753bc08 Merge branch 'master' into github-workflows/python-tox
jayaddisonFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
21 changes: 21 additions & 0 deletions.github/workflows/python-tox.yml
This file contains hidden or 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] | ||
ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. NB for review: do | ||
| 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.