Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f25bf2

Browse filesBrowse files
authored
Add GitHub Actions workflow for tox (html5lib#527)
1 parent ad3bde7 commit 2f25bf2
Copy full SHA for 2f25bf2

File tree

1 file changed

+21
-0
lines changed
Filter options

1 file changed

+21
-0
lines changed

‎.github/workflows/python-tox.yml

Copy file name to clipboard
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on: [pull_request, push]
2+
jobs:
3+
build:
4+
# Prevent duplicate builds for 'internal' pull requests on existing commits
5+
# Credit: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
6+
if: github.event.push || github.event.pull_request.head.repo.full_name != github.repository
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python: [2.7, 3.5, 3.6, 3.7, 3.8, pypy-2.7, pypy3]
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
submodules: true
15+
- uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python }}
18+
- run: pip install tox
19+
- run: tox -e py
20+
- if: ${{ always() }}
21+
run: python debug-info.py

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.