Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PyPy pipeline #1291

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/test-suite.yml
Expand Up @@ -14,20 +14,27 @@ jobs:

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.6", "pypy-3.7", "pypy-3.8"]

steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"

- name: "Install dependencies"
run: "scripts/install"

- name: "Run linting checks"
run: "scripts/check"
if: ${{ startsWith('pypy', matrix.python-version) }}

- name: "Build package & docs"
run: "scripts/build"
if: ${{ startsWith('pypy', matrix.python-version) }}

- name: "Run tests"
run: "scripts/test"

- name: "Enforce coverage"
run: "scripts/coverage"
6 changes: 3 additions & 3 deletions requirements.txt
Expand Up @@ -6,13 +6,13 @@ pyyaml
requests

# Testing
autoflake
black==20.8b1
autoflake; platform_python_implementation != 'PyPy'
black==20.8b1; platform_python_implementation != 'PyPy'
coverage>=5.3
databases[sqlite]
flake8
isort==5.*
mypy
mypy; platform_python_implementation != 'PyPy'
types-requests
types-contextvars
types-PyYAML
Expand Down