From 80edb8be796757c554ec67a60d3e150643ee08fd Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Wed, 31 Jan 2024 14:55:27 +0100 Subject: [PATCH] [ci][add] Running tests on Python 3.8, 3.9, 3.10 and 3.11 --- .github/workflows/build_and_tests.yml | 8 ++++++++ setup.cfg | 1 + 2 files changed, 9 insertions(+) diff --git a/.github/workflows/build_and_tests.yml b/.github/workflows/build_and_tests.yml index a12bc299..722a6fa0 100644 --- a/.github/workflows/build_and_tests.yml +++ b/.github/workflows/build_and_tests.yml @@ -26,6 +26,9 @@ jobs: name: Install and test the library needs: [build_boilerplate_application] runs-on: ubuntu-latest + strategy: + matrix: + python_version: ['3.8', '3.9', '3.10', '3.11'] steps: - name: Clone @@ -33,6 +36,11 @@ jobs: with: fetch-depth: 0 + - name: Setup Python version + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python_version }} + - name: Speculos dependencies run: sudo apt-get update && sudo apt-get install -y qemu-user-static tesseract-ocr libtesseract-dev diff --git a/setup.cfg b/setup.cfg index fda4521e..6b0bcfa3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,6 +13,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X