Skip to content

Commit a190dc8

Browse files
committed
Update Ubuntu & Python Versions in CI
1 parent 88f25e4 commit a190dc8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/scripts/install-libkdumpfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
sudo apt update
1010
sudo apt install autoconf automake liblzo2-dev libsnappy1v5 libtool pkg-config zlib1g-dev
11-
sudo apt install python3.6-dev python3.7-dev python3.8-dev
11+
sudo apt install python3.8-dev
1212

1313
git clone https://github.com/ptesarik/libkdumpfile.git
1414

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
# Verify the build and installation of SDB.
1010
#
1111
install:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-20.04
1313
strategy:
1414
matrix:
15-
python-version: [3.6, 3.7, 3.8]
15+
python-version: [3.8]
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-python@v1
@@ -31,12 +31,12 @@ jobs:
3131
# the "drgn" from source (there's no package currently available).
3232
#
3333
pylint:
34-
runs-on: ubuntu-18.04
34+
runs-on: ubuntu-20.04
3535
steps:
3636
- uses: actions/checkout@v2
3737
- uses: actions/setup-python@v1
3838
with:
39-
python-version: '3.6'
39+
python-version: '3.8'
4040
- run: ./.github/scripts/install-drgn.sh
4141
- run: python3 -m pip install pylint pytest
4242
- run: pylint -d duplicate-code -d invalid-name sdb
@@ -52,10 +52,10 @@ jobs:
5252
# can open kdump-compressed crash dumps for the integration tests.
5353
#
5454
pytest:
55-
runs-on: ubuntu-18.04
55+
runs-on: ubuntu-20.04
5656
strategy:
5757
matrix:
58-
python-version: [3.6, 3.7, 3.8]
58+
python-version: [3.8]
5959
steps:
6060
- uses: actions/checkout@v2
6161
- uses: actions/setup-python@v1
@@ -73,12 +73,12 @@ jobs:
7373
# Verify "yapf" runs successfully.
7474
#
7575
yapf:
76-
runs-on: ubuntu-18.04
76+
runs-on: ubuntu-20.04
7777
steps:
7878
- uses: actions/checkout@v2
7979
- uses: actions/setup-python@v1
8080
with:
81-
python-version: '3.6'
81+
python-version: '3.8'
8282
- run: python3 -m pip install yapf
8383
- run: yapf --diff --style google --recursive sdb
8484
- run: yapf --diff --style google --recursive tests
@@ -98,12 +98,12 @@ jobs:
9898
# pytest doesn't provide stubs on typeshed.
9999
#
100100
mypy:
101-
runs-on: ubuntu-18.04
101+
runs-on: ubuntu-20.04
102102
steps:
103103
- uses: actions/checkout@v2
104104
- uses: actions/setup-python@v1
105105
with:
106-
python-version: '3.6'
106+
python-version: '3.8'
107107
- run: ./.github/scripts/install-drgn.sh
108108
- run: python3 -m pip install mypy==0.730
109109
- run: python3 -m mypy --strict --show-error-codes -p sdb
@@ -112,7 +112,7 @@ jobs:
112112
# Verify that "shfmt" ran successfully against our shell scripts.
113113
#
114114
shfmt:
115-
runs-on: ubuntu-18.04
115+
runs-on: ubuntu-20.04
116116
steps:
117117
- uses: actions/checkout@v2
118118
- uses: delphix/actions/shfmt@master

0 commit comments

Comments
 (0)