Skip to content

Commit b5a4292

Browse files
authored
Merge branch 'master' into os_icons
2 parents 873cd86 + aee8ead commit b5a4292

File tree

4 files changed

+58
-3
lines changed

4 files changed

+58
-3
lines changed

.github/local-problem-matchers.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "local-generic-warning",
5+
"severity": "warning",
6+
"pattern": [
7+
{
8+
"regexp": "^(.*\\bWARNING:\\b.*)$",
9+
"message": 1
10+
}
11+
]
12+
},
13+
{
14+
"owner": "local-tox-not_in_env_warning",
15+
"severity": "error",
16+
"pattern": [
17+
{
18+
"regexp": "^(\\s*WARNING: test command found but not installed.*)$"
19+
},
20+
{
21+
"regexp": "^(\\s*(cmd:|env:|Maybe you forgot).*)$",
22+
"message": 1,
23+
"loop": true
24+
}
25+
]
26+
}
27+
]
28+
}

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
3.6: docker://python:3.6-buster
3232
3.7: docker://python:3.7-buster
3333
3.8: docker://python:3.8-buster
34+
pypy2: docker://pypy:2-jessie
35+
pypy3: docker://pypy:3-stretch
3436
- name: 🪟
3537
runs-on: windows-latest
3638
python_platform: win32
@@ -58,6 +60,14 @@ jobs:
5860
tox: py38
5961
action: 3.8
6062
docker: 3.8
63+
- name: PyPy 2
64+
tox: pypy2
65+
action: pypy2
66+
docker: pypy2
67+
- name: PyPy 3
68+
tox: pypy3
69+
action: pypy3
70+
docker: pypy3
6171
reactor:
6272
- name: default
6373
tox: default
@@ -77,8 +87,23 @@ jobs:
7787
tox: py27
7888
reactor:
7989
tox: asyncio
90+
- python:
91+
tox: pypy2
92+
reactor:
93+
tox: asyncio
94+
- python:
95+
tox: pypy2
96+
reactor:
97+
tox: qt5
98+
- python:
99+
tox: pypy3
100+
reactor:
101+
tox: qt5
80102
steps:
81103
- uses: actions/checkout@v2
104+
- name: Enable Problem Matchers
105+
run: |
106+
echo "::add-matcher::.github/local-problem-matchers.json"
82107
- name: Set up ${{ matrix.python.name }}
83108
if: ${{ job.container == '' }}
84109
uses: actions/setup-python@v2

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"Programming Language :: Python :: 3.6",
3131
"Programming Language :: Python :: 3.7",
3232
"Programming Language :: Python :: 3.8",
33+
"Programming Language :: Python :: Implementation :: CPython",
34+
"Programming Language :: Python :: Implementation :: PyPy",
3335
],
3436
entry_points={"pytest11": ["twisted = pytest_twisted"]},
3537
)

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist=
3-
py27-defaultreactor
4-
py{35,36,37,38}-{default,qt5,asyncio}reactor
3+
py{27,py2,35,36,37,38,py3}-defaultreactor
4+
py{35,36,37,38,py3}-asyncioreactor
55
py{35,36,37,38}-qt5reactor
66
linting
77

@@ -10,11 +10,11 @@ deps=
1010
greenlet
1111
pytest
1212
twisted
13-
pywin32; sys_platform == 'win32'
1413
qt5reactor: pytest-qt
1514
qt5reactor: qt5reactor
1615
qt5reactor: pytest-xvfb
1716
qt5reactor: pyqt5
17+
qt5reactor: pywin32; sys_platform == 'win32'
1818
setenv=
1919
defaultreactor: REACTOR = default
2020
qt5reactor: REACTOR = qt5reactor

0 commit comments

Comments
 (0)