Skip to content

Commit 2f25bf2

Browse files
authored
Add GitHub Actions workflow for tox (#527)
1 parent ad3bde7 commit 2f25bf2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/python-tox.yml

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy