From 3b9fcd80010e10cf8e79a7709e5e02373b2fbefb Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Mon, 8 Aug 2022 10:30:27 +0100 Subject: [PATCH] ci: Bump the python version used for running tests The latest devlib master branch requires Python >=3.7 therefore bump the python version used to run the CI tests. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f9dc47f..8875fdd2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.5 + - name: Set up Python 3.7 uses: actions/setup-python@v2 with: - python-version: 3.5 + python-version: 3.7 - name: git-bash uses: pkg-src/github-action-git-bash@v1.1 - name: Install dependencies @@ -27,7 +27,7 @@ jobs: python -m pip install --upgrade pip cd /tmp && git clone https://github.com/ARM-software/devlib.git && cd devlib && pip install . cd $GITHUB_WORKSPACE && pip install .[test] - pip install pylint pep8 flake8 mock nose + python -m pip install pylint pep8 flake8 mock nose - name: Run pylint run: | cd $GITHUB_WORKSPACE && ./dev_scripts/pylint wa/ @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }}