From bf55dde35822936e7326b8b89ea6b2f3099b63d9 Mon Sep 17 00:00:00 2001 From: Lucas Gomide Date: Wed, 9 Apr 2025 10:29:21 -0300 Subject: [PATCH] ci(workflows): add Python version matrix (3.10-3.12) for tests --- .github/workflows/tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f655dcc64..9ee0e999a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,6 +12,9 @@ jobs: tests: runs-on: ubuntu-latest timeout-minutes: 15 + strategy: + matrix: + python-version: ['3.10', '3.11', '3.12'] steps: - name: Checkout code uses: actions/checkout@v4 @@ -21,9 +24,8 @@ jobs: with: enable-cache: true - - - name: Set up Python - run: uv python install 3.12.8 + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Install the project run: uv sync --dev --all-extras