From b0fc268b0ba774ac8804ae473a2494a987d8cecc Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 23 Feb 2025 07:45:09 +0100 Subject: [PATCH] Run tests on the oldest and newest supported version of Python --- .github/workflows/tests.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8575fcf..846be14 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,16 +11,21 @@ on: jobs: test: + strategy: + fail-fast: false + matrix: # Run tests on the oldest and newest supported version of Python. + python-version: [3.8, 3.x] + runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4