From 286c24c689b8afccfd9360c75b6cf7da7c0853bc Mon Sep 17 00:00:00 2001 From: TJ Porter Date: Thu, 11 Jan 2024 08:39:24 -0600 Subject: [PATCH] [CHANGE] Changed pytest workflow to use all Python versions between 3.8 - 3.12 [CHANGE] Changed flake8 and black jobs to use Python version 3.12 --- .github/workflows/black.yml | 5 +---- .github/workflows/flake8.yml | 5 +---- .github/workflows/pytest.yml | 10 +++------- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 975c115..c6321c5 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,6 +1,3 @@ -# This workflow will install Python dependencies, run tests and lint -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - name: Check Black on: @@ -16,7 +13,7 @@ jobs: strategy: matrix: python-version: - - "3.8" + - "3.12" steps: - uses: actions/checkout@v3.5.2 diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index c4567dc..a8557b7 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -1,6 +1,3 @@ -# This workflow will install Python dependencies, run tests and lint -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - name: Check flake8 on: @@ -16,7 +13,7 @@ jobs: strategy: matrix: python-version: - - "3.8" + - "3.12" steps: - uses: actions/checkout@v3.5.2 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 97c2125..2c9e352 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,7 +1,4 @@ -# This workflow will install Python dependencies, run tests and lint -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Check pytest +name: Run pytest on: push: @@ -11,12 +8,11 @@ on: pull_request: jobs: - check-pytest: + run-pytest: runs-on: ubuntu-latest strategy: matrix: - python-version: - - "3.8" + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3.5.2