Skip to content

Commit

Permalink
Run tests separately on PyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Nov 11, 2023
1 parent dfb49fc commit 2f8d4c2
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.11", "3.12", "pypy-3.10"]
python-version: ["3.8", "3.9", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -35,6 +35,23 @@ jobs:
parallel: true
file: coverage.xml

test-pypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: pypy-3.10
cache: pip
cache-dependency-path: pyproject.toml
- name: Start external services
run: docker compose up -d
- name: Install the project and its dependencies
run: pip install -e .[test]
- name: Test with pytest
run: pytest

test-others:
strategy:
fail-fast: false
Expand Down

0 comments on commit 2f8d4c2

Please sign in to comment.