From 445faf0dbde3a4181bbb61b115e81220f231172d Mon Sep 17 00:00:00 2001 From: Sanjin <102841251+duckduckgrayduck@users.noreply.github.com> Date: Thu, 9 Nov 2023 08:15:41 -0600 Subject: [PATCH 1/2] Adds python-2 to the tests. Testing --- .github/workflows/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed79f8a..c14f8e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,15 +11,17 @@ on: jobs: run-tests: runs-on: ubuntu-latest - + strategy: + matrix: + python-version: ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | From 68d19487d843db205ec9077ff0fc29aee98178f7 Mon Sep 17 00:00:00 2001 From: Sanjin <102841251+duckduckgrayduck@users.noreply.github.com> Date: Thu, 9 Nov 2023 08:19:40 -0600 Subject: [PATCH 2/2] Remove 2.7, which is no longer supported by actions. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c14f8e0..7954089 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["2.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Check out code uses: actions/checkout@v2