From 34aa499b1faa1e29c51e108b30e2ecd5bf18b834 Mon Sep 17 00:00:00 2001 From: guarin <43336610+guarin@users.noreply.github.com> Date: Wed, 25 Sep 2024 09:51:04 +0200 Subject: [PATCH] Run format check on multiple Python versions (#1655) * Run format checks on Python 3.7 and 3.12 --- .github/workflows/test_code_format.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_code_format.yml b/.github/workflows/test_code_format.yml index 2f713956f..4d8844045 100644 --- a/.github/workflows/test_code_format.yml +++ b/.github/workflows/test_code_format.yml @@ -11,6 +11,9 @@ jobs: test: name: Check runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.7", "3.12"] steps: - name: Checkout Code uses: actions/checkout@v4 @@ -22,7 +25,7 @@ jobs: - name: Set Up Python uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: ${{ matrix.python }} - name: Set Up Environment run: | make install-uv reset-venv