From 791b2ed8f58d836b66e15626fb6fbe001fd0837a Mon Sep 17 00:00:00 2001 From: DawoudSheraz Date: Fri, 23 Feb 2024 11:23:59 +0500 Subject: [PATCH] build: add python 3.12 checks alongside 3.8 --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b7940a41a8..904f82b563 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,12 +9,15 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.8', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: requirements/dev.txt - name: Upgrade pip