From 2f8d4c254835d66a4fbac419e5dd9144984ad499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Sat, 11 Nov 2023 15:16:55 +0200 Subject: [PATCH] Run tests separately on PyPy --- .github/workflows/test.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 357885f2d..b25748647 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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