From 5500721566da94e9e3b6f4d42ed99c8b8aa9b67f Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 31 Mar 2024 10:44:27 +0200 Subject: [PATCH] use baipp's version matrix --- .github/workflows/ci.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a95dfa..21c688b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,10 @@ jobs: fetch-depth: 0 - uses: hynek/build-and-inspect-python-package@v2 + id: baipp + + outputs: + python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }} tests: name: Tests on ${{ matrix.python-version }} @@ -33,12 +37,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: - - "3.8" - - "3.9" - - "3.10" - - "3.11" - - "3.12" + python-version: ${{ fromJson(needs.build-package.outputs.python-versions) }} steps: - name: Download pre-built packages @@ -117,12 +116,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: - - "3.8" - - "3.9" - - "3.10" - - "3.11" - - "3.12" + python-version: ${{ fromJson(needs.build-package.outputs.python-versions) }} steps: - name: Download pre-built packages