From 05825b2d654dac3e14f9cc9074fd85c21af00cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Sat, 10 Feb 2024 22:08:32 +0100 Subject: [PATCH] Add reduced matrix of Python versions for testing wsgi dependency --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 050e1e0..0bc4e5f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,15 +10,23 @@ jobs: strategy: matrix: python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] + wsgi-python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} + if: ${{ !contains(github.ref, 'mod-wsgi-standalone') }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: Setup Python ${{ matrix.python-version }} + if: ${{ contains(github.ref, 'mod-wsgi-standalone') }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.wsgi-python-version }} + - name: Install dependencies run: make install