From 6653bc464a35d4f8dfce1504ba48e1e037074129 Mon Sep 17 00:00:00 2001 From: Siddheshwar More Date: Wed, 14 Feb 2024 14:42:39 +0530 Subject: [PATCH 1/3] Rename build.yml to test_pypi_release.yml updated the workflow name --- .github/workflows/{build.yml => test_pypi_release.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{build.yml => test_pypi_release.yml} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/test_pypi_release.yml similarity index 100% rename from .github/workflows/build.yml rename to .github/workflows/test_pypi_release.yml From b8c493a0d36d004493a8b22fd563f42becb84395 Mon Sep 17 00:00:00 2001 From: Siddheshwar More Date: Wed, 14 Feb 2024 15:06:19 +0530 Subject: [PATCH 2/3] added changes for multiple python tests --- .github/workflows/tests.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d8506f4..1a6bcc43 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,22 +17,20 @@ on: paths: - "pebblo/**/*.py" - "pebblo/**/*.txt" -env: - PYTHON_VERSION: "3.11" jobs: + RunUnitTests: + strategy: + matrix: + python_version: [3.9, 3.10, 3.11, 3.12] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: ${{ matrix.python_version }} - name: Install the dependencies needed for tests run: pip install -r tests/test_requirements.txt - name: Run Unit Tests run: make test - - - - From 1bb7020ae94151bb267bb057c4a269fb6d8f0d59 Mon Sep 17 00:00:00 2001 From: Siddheshwar More Date: Wed, 14 Feb 2024 15:14:58 +0530 Subject: [PATCH 3/3] added multiple python version tests --- .github/workflows/linting.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index aefc3457..dad09078 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -7,13 +7,14 @@ on: - "pebblo/**/*.py" - "tests/**/*.py" - "samples/**/*.py" -env: - PYTHON_VERSION: "3.11" jobs: pylint: runs-on: ubuntu-latest + strategy: + matrix: + python_version: [3.9, 3.10, 3.11, 3.12] steps: - name: Checkout uses: actions/checkout@v4 @@ -22,7 +23,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: ${{ matrix.python_version }} - name: Install dependencies needed for tests run: pip install -r tests/test_requirements.txt