Skip to content

Commit 2c224d8

Browse files
committed
Merge branch 'master' into also_test_pyside2
2 parents d33d132 + aee8ead commit 2c224d8

File tree

4 files changed

+60
-3
lines changed

4 files changed

+60
-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: Windows
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
@@ -84,8 +94,23 @@ jobs:
8494
tox: py27
8595
reactor:
8696
tox: asyncio
97+
- python:
98+
tox: pypy2
99+
reactor:
100+
tox: asyncio
101+
- python:
102+
tox: pypy2
103+
reactor:
104+
tox: qt5
105+
- python:
106+
tox: pypy3
107+
reactor:
108+
tox: qt5
87109
steps:
88110
- uses: actions/checkout@v2
111+
- name: Enable Problem Matchers
112+
run: |
113+
echo "::add-matcher::.github/local-problem-matchers.json"
89114
- name: Set up ${{ matrix.python.name }}
90115
if: ${{ job.container == '' }}
91116
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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
[tox]
22
envlist=
3-
py27-defaultreactor
4-
py{35,36,37,38}-{default,pyqt5,pyside2,asyncio}reactor
3+
py{27,py2,35,36,37,38,py3}-defaultreactor
4+
py{35,36,37,38,py3}-asyncioreactor
5+
py{35,36,37,38}-qt5reactor
6+
py{35,36,37,38}-pyside2reactor
57
linting
68

79
[testenv]
810
deps=
911
greenlet
1012
pytest
1113
twisted
12-
pywin32; sys_platform == 'win32'
1314
pyqt5reactor,pyside2reactor: pytest-qt
1415
pyqt5reactor,pyside2reactor: qt5reactor
1516
pyqt5reactor,pyside2reactor: pytest-xvfb
17+
pyqt5reactor,pyside2reactor: pywin32; sys_platform == 'win32'
1618
pyqt5reactor: pyqt5
1719
pyside2reactor: pyside2
1820
setenv=

0 commit comments

Comments
 (0)