From b734e90de1fec7f4a117721022d3f10152af2a14 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Sat, 1 Mar 2025 15:27:31 -0600 Subject: [PATCH] ci: Bump python versions and pin ubuntu version Update CI to run with later python versions and update to align with latest available versions provided by github actions. Pin to using ubuntu version 22.04 as this is the latest that support all python versions. --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a85f05cc..20f213eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,13 +13,13 @@ on: jobs: Run-Linters-and-Tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.8.18 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.8.18 - name: git-bash uses: pkg-src/github-action-git-bash@v1.1 - name: Install dependencies @@ -39,10 +39,10 @@ jobs: nosetests Execute-Test-Workload-and-Process: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.7.17, 3.8.18, 3.9.21, 3.10.16, 3.13.2] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -64,10 +64,10 @@ jobs: cd /tmp && wa process -f -p csv idle_workload Test-WA-Commands: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.7.17, 3.8.18, 3.9.21, 3.10.16, 3.13.2] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }}