Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit2f25bf2

Browse files
authored
Add GitHub Actions workflow for tox (#527)
1 parentad3bde7 commit2f25bf2

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)

[8]ページ先頭

©2009-2025 Movatter.jp