From d416156c5d6146c60b61948ccd2d2a72e73ab174 Mon Sep 17 00:00:00 2001 From: Graham Strickland Date: Sat, 14 Sep 2024 07:59:40 +0200 Subject: [PATCH] Add python3.12 to test workflow --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 916bdda..c4aa8fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,14 +20,16 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v3 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | - python -m pip install --upgrade pip + python3.12 -m venv .venv + source .venv/bin/activate + python3.12 -m pip install --upgrade pip pip install pytest - name: Test with pytest run: | - python3.11 -m pytest + python3.12 -m pytest