Skip to content

Commit 9ceeacf

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

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-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: 13 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,12 @@ 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]
59+
env:
60+
AWS_DEFAULT_REGION: 'us-west-2'
5961
steps:
6062
- uses: actions/checkout@v2
6163
- uses: actions/setup-python@v1
@@ -73,12 +75,12 @@ jobs:
7375
# Verify "yapf" runs successfully.
7476
#
7577
yapf:
76-
runs-on: ubuntu-18.04
78+
runs-on: ubuntu-20.04
7779
steps:
7880
- uses: actions/checkout@v2
7981
- uses: actions/setup-python@v1
8082
with:
81-
python-version: '3.6'
83+
python-version: '3.8'
8284
- run: python3 -m pip install yapf
8385
- run: yapf --diff --style google --recursive sdb
8486
- run: yapf --diff --style google --recursive tests
@@ -98,12 +100,12 @@ jobs:
98100
# pytest doesn't provide stubs on typeshed.
99101
#
100102
mypy:
101-
runs-on: ubuntu-18.04
103+
runs-on: ubuntu-20.04
102104
steps:
103105
- uses: actions/checkout@v2
104106
- uses: actions/setup-python@v1
105107
with:
106-
python-version: '3.6'
108+
python-version: '3.8'
107109
- run: ./.github/scripts/install-drgn.sh
108110
- run: python3 -m pip install mypy==0.730
109111
- run: python3 -m mypy --strict --show-error-codes -p sdb
@@ -112,7 +114,7 @@ jobs:
112114
# Verify that "shfmt" ran successfully against our shell scripts.
113115
#
114116
shfmt:
115-
runs-on: ubuntu-18.04
117+
runs-on: ubuntu-20.04
116118
steps:
117119
- uses: actions/checkout@v2
118120
- uses: delphix/actions/shfmt@master

0 commit comments

Comments
 (0)