Skip to content

Commit 4cc2d22

Browse files
committed
github: keep yangtze's runs working
ubuntu 20.04 was deprecated Signed-off-by: Pau Ruiz Safont <[email protected]>
1 parent 7c59c66 commit 4cc2d22

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.github/python-nosetests-3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
set -uex
55

6-
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
6+
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ jammy main universe"
77
sudo apt-get update
88
sudo apt-get install -y python3-mock python3-nose
99
pip3 install mock

.github/python-nosetests.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33

44
set -uex
55

6-
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
7-
sudo apt-get update
8-
sudo apt-get install -y python-mock python-nose
9-
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py |sudo python2
10-
pip install enum
6+
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python2
7+
pip install enum nose mock
118

129
nosetests scripts scripts/examples scripts/examples/python
1310
PYTHONPATH=scripts/plugins python2 -m unittest -v test_extauth_hook_AD

.github/workflows/1.249-lcm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
python-test:
99
name: Python tests
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
fail-fast: false
1313
matrix:
@@ -21,7 +21,7 @@ jobs:
2121

2222
ocaml-test:
2323
name: Ocaml tests
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525

2626
steps:
2727
- name: Checkout code

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
ocaml-format:
1212
name: Ocaml files
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414

1515
steps:
1616
- name: Checkout code

0 commit comments

Comments
 (0)