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 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 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 - - - -