FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
html5lib-python/.github/workflows/python-tox.yml at master · html5lib/html5lib-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
html5lib
/
html5lib-python
Public
Notifications
You must be signed in to change notification settings
Fork
308
Star
1.2k
Code
Issues
84
Pull requests
20
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
html5lib-python
/
.github
/
workflows
/
python-tox.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
62 lines (62 loc) · 2.18 KB
Breadcrumbs
html5lib-python
/
.github
/
workflows
/
python-tox.yml
Copy path
File metadata and controls
62 lines (62 loc) · 2.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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
strategy
:
fail-fast
:
false
matrix
:
#
2.7 and 3.7 run on Windows via AppVeyor
python
:
["3.8", "3.9", "3.10", "3.11", "3.12"]
os
:
[ubuntu-latest, windows-latest]
deps
:
[base, optional]
include
:
-
python
:
"
pypy-2.7
"
os
:
ubuntu-latest
deps
:
base
-
python
:
"
pypy-3.10
"
os
:
ubuntu-latest
deps
:
base
-
python
:
"
3.8
"
os
:
ubuntu-latest
deps
:
oldest
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
true
-
if
:
${{ matrix.deps == 'base' }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python }}
cache
:
pip
cache-dependency-path
:
|
requirements.txt
requirements-test.txt
-
if
:
${{ matrix.deps == 'optional' }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python }}
cache
:
pip
cache-dependency-path
:
|
requirements.txt
requirements-optional.txt
requirements-test.txt
-
if
:
${{ matrix.deps == 'oldest' }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python }}
cache
:
pip
cache-dependency-path
:
|
requirements-oldest.txt
-
if
:
${{ matrix.os == 'windows-latest' }}
name
:
Determine environment name for Tox (PowerShell)
run
:
python toxver.py ${{ matrix.python }} ${{ matrix.deps }} >> $env:GITHUB_ENV
-
if
:
${{ matrix.os == 'ubuntu-latest' }}
name
:
Determine environment name for Tox (Bash)
run
:
python toxver.py ${{ matrix.python }} ${{ matrix.deps }} >> $GITHUB_ENV
-
run
:
pip install tox
-
run
:
tox
-
if
:
${{ always() }}
run
:
python debug-info.py
Back
|
FazBrowse Home
|
New Git URL