From 038550b19aa07f0ce5f611ee1d5859ca09b55798 Mon Sep 17 00:00:00 2001 From: Roger Date: Sat, 17 Feb 2024 22:05:01 +0100 Subject: [PATCH] fix: github actions: python tests --- .github/workflows/python-tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 0fb17ae..0024d6a 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -45,10 +45,8 @@ jobs: # temporary only until distutils provided in Python 3.12 - name: Install setuptools for Python3.12 - with: - python-version: 3.12 run: | - pip install setuptools + if [ "${{ matrix.python-version }}" == "3.12" ]; then pip install setuptools; fi - name: Install python project run: |