aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2024-02-17 15:09:28 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2024-02-17 15:09:28 +0200
commitc87a41d5bda5108f93efea5142db67b2e5d2af42 (patch)
tree8eaa7809688315888a73cf26dae7dd585c097691
parentb7e1104502eca3a213b46303391ca4d3bc8ddec1 (diff)
downloadnanopb-c-upstream-maintenance_0.3.tar.gz
Update Python2 CI workflow to Ubuntu 20.04upstream-maintenance_0.3
GitHub no longer offers the Ubuntu 18.04 runner.
-rw-r--r--.github/workflows/tests.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 0060d7b..9302d21 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -45,9 +45,9 @@ jobs:
test_python2:
- name: Test with Python 2 on Ubuntu 18.04
+ name: Test with Python 2 on Ubuntu 20.04
needs: smoke_test
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Check out code from GitHub
@@ -59,7 +59,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
- sudo apt-get install python-protobuf protobuf-compiler scons
+ sudo apt-get install python-protobuf protobuf-compiler scons python-is-python2
- name: Run tests with Python 2
run: |