From 5aa717b02a94ea566935b98d1fa6d6eaeb751a6d Mon Sep 17 00:00:00 2001 From: Danyal-Faheem Date: Wed, 13 Mar 2024 15:08:23 +0500 Subject: [PATCH] ci: add python 3.12 checks --- .github/workflows/test.yml | 11 +++++++---- ...313_150658_danyal.faheem_upgrade_to_python_3_12.md | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 changelog.d/20240313_150658_danyal.faheem_upgrade_to_python_3_12.md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 829f6137..5671b62f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,15 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.8', '3.12'] steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Upgrade pip run: python -m pip install --upgrade pip setuptools - name: Install dependencies diff --git a/changelog.d/20240313_150658_danyal.faheem_upgrade_to_python_3_12.md b/changelog.d/20240313_150658_danyal.faheem_upgrade_to_python_3_12.md new file mode 100644 index 00000000..56cdea88 --- /dev/null +++ b/changelog.d/20240313_150658_danyal.faheem_upgrade_to_python_3_12.md @@ -0,0 +1 @@ +- [Feature] Add Python 3.12 CI checks (by @Danyal-Faheem) \ No newline at end of file