Skip to content

Commit 267f281

Browse files
committed
ci: bump test github workflow to ubuntu 20.04
Since ubuntu 18.04 is gone. While at it remove deadsnakes install on rake job.
1 parent a5df32b commit 267f281

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,22 @@ on:
99
jobs:
1010
python:
1111

12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-20.04
1313
strategy:
1414
matrix:
1515
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
1616
test-suite: [unittest, python, deadlocks]
1717
steps:
1818
- name: Add deadnakes ppa
19-
run: |
20-
sudo apt install -qqyf software-properties-common
21-
sudo add-apt-repository ppa:deadsnakes/ppa -y
19+
run: sudo add-apt-repository ppa:deadsnakes/ppa -y
2220
- name: Install dependencies
2321
run: |
2422
sudo apt update -qq
2523
sudo apt install --no-install-recommends -qqyf python${{ matrix.python-version }}-dev \
2624
libpcre3-dev libjansson-dev libcap2-dev \
2725
curl check
2826
- name: Install distutils
29-
if: contains(fromJson('["3.8","3.9","3.10","3.11"]'), matrix.python-version)
27+
if: contains(fromJson('["3.6","3.7","3.8","3.9","3.10","3.11"]'), matrix.python-version)
3028
run: |
3129
sudo apt install --no-install-recommends -qqyf python${{ matrix.python-version }}-distutils \
3230
- uses: actions/checkout@v2
@@ -52,20 +50,16 @@ jobs:
5250
5351
rack:
5452

55-
runs-on: ubuntu-18.04
53+
runs-on: ubuntu-20.04
5654
strategy:
5755
matrix:
58-
rack-version: ["251"]
56+
rack-version: ["270"]
5957
steps:
60-
- name: Add deadnakes ppa
61-
run: |
62-
sudo apt install -qqyf software-properties-common
63-
sudo add-apt-repository ppa:deadsnakes/ppa -y
6458
- name: Install dependencies
6559
run: |
6660
sudo apt update -qq
6761
sudo apt install --no-install-recommends -qqyf python3-dev \
68-
libpcre3-dev libjansson-dev libcap2-dev \
62+
libpcre3-dev libjansson-dev libcap2-dev ruby2.7-dev \
6963
curl check
7064
- uses: actions/checkout@v2
7165
- name: Run unit tests

0 commit comments

Comments
 (0)