1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-04-12 22:00:51 +01:00

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.
This commit is contained in:
Marc Bonnici 2025-03-01 15:27:31 -06:00
parent 5670e571e1
commit b734e90de1

View File

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