From fe46487e15d04b6734608301f7337317bab5db3d Mon Sep 17 00:00:00 2001 From: Roger Date: Sat, 17 Feb 2024 21:45:16 +0100 Subject: [PATCH] fix: github actions: python tests --- .github/workflows/python-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 3c91637..0fb17ae 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -43,6 +43,13 @@ jobs: pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + # temporary only until distutils provided in Python 3.12 + - name: Install setuptools for Python3.12 + with: + python-version: 3.12 + run: | + pip install setuptools + - name: Install python project run: | python -m pip install .