github/workflows: Use ubuntu-20.04 when python2 is required.
Python 2 is no longer included in the latest Ubuntu 22.04. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
b705732d5f
commit
ecb46f93e0
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04 # use 20.04 to get python2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
|
|
|
@ -98,7 +98,7 @@ jobs:
|
||||||
run: tests/run-tests.py --print-failures
|
run: tests/run-tests.py --print-failures
|
||||||
|
|
||||||
nanbox:
|
nanbox:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04 # use 20.04 to get python2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
|
|
Loading…
Reference in New Issue