Skip to content

Commit 86d6821

Browse files
author
Vladimir Puzakov
committed
chore: add pypy to ci test
1 parent 8ec9c69 commit 86d6821

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/tests-and-linters.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66

7+
tests-on-pypy:
8+
name: Run tests on pypy versions
9+
runs-on: ubuntu-20.04
10+
strategy:
11+
matrix:
12+
python-version: [pypy3.9, pypy3.10]
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-python@v4
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- run: pip install tox
19+
- run: tox
20+
env:
21+
TOXENV: pypi
22+
723
test-on-different-versions:
824
name: Run tests
925
runs-on: ubuntu-latest

tox.ini

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist=
3-
coveralls, pylint, flake8, pydocstyle, 3.8, 3.9, 3.10, 3.11, 3.12
3+
coveralls, pylint, flake8, pydocstyle, 3.8, 3.9, 3.10, 3.11, 3.12, pypy3.9, pypy3.10
44

55
[testenv]
66
deps=
@@ -66,3 +66,17 @@ deps=
6666
pydantic-settings
6767
commands=
6868
mypy tests/typing
69+
70+
71+
[testenv:pypy]
72+
deps=
73+
pytest
74+
pytest-asyncio
75+
httpx
76+
fastapi
77+
boto3
78+
mypy_boto3_s3
79+
extras=
80+
yaml
81+
flask
82+
commands = pytest -c tests/.configs/pytest-py27.ini

0 commit comments

Comments
 (0)