From c26be0ca84295cc0cc784430b8116e46cf7ab96f Mon Sep 17 00:00:00 2001 From: Jonathan Halverson <52128661+jdh4@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:48:04 -0500 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dad2bb2..d830bd1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,13 +3,17 @@ on: workflow_dispatch jobs: tests: - name: Check Python 3.7 on Ubuntu - runs-on: ubuntu-22.04 + name: Check Python ${{ matrix.python-version }} on Ubuntu + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7", "3.12"] steps: - uses: actions/checkout@v4 + - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: ${{ matrix.python-version }} - name: Install package run: pip install requests blessed pytest pytest-cov pytest-mock