Skip to content

Commit c751a96

Browse files
committed
ci(runners): upgrade CI runners to Ubuntu 22.04 (#138)
Updates CI runners to use Ubuntu 22.04 in the `maint-0.9` branches because 20.04 is not supported anymore. Also removes Python 3.6 from the test matrix because the runners do not support it anymore.
1 parent 2c1995f commit c751a96

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is part of REANA.
2-
# Copyright (C) 2020, 2021, 2022, 2023, 2024 CERN.
2+
# Copyright (C) 2020, 2021, 2022, 2023, 2024, 2025 CERN.
33
#
44
# REANA is free software; you can redistribute it and/or modify it
55
# under the terms of the MIT License; see LICENSE file for more details.
@@ -10,7 +10,7 @@ on: [push, pull_request]
1010

1111
jobs:
1212
lint-commitlint:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v3
@@ -36,7 +36,7 @@ jobs:
3636
./run-tests.sh --check-commitlint ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} ${{ github.event.pull_request.head.sha }}
3737
3838
lint-shellcheck:
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-22.04
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@v3
@@ -47,15 +47,15 @@ jobs:
4747
./run-tests.sh --check-shellcheck
4848
4949
lint-black:
50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-22.04
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v3
5454

5555
- name: Setup Python
5656
uses: actions/setup-python@v4
5757
with:
58-
python-version: '3.8'
58+
python-version: "3.8"
5959

6060
- name: Check Python code formatting
6161
run: |
@@ -64,15 +64,15 @@ jobs:
6464
./run-tests.sh --check-black
6565
6666
lint-flake8:
67-
runs-on: ubuntu-20.04
67+
runs-on: ubuntu-22.04
6868
steps:
6969
- name: Checkout
7070
uses: actions/checkout@v3
7171

7272
- name: Setup Python
7373
uses: actions/setup-python@v4
7474
with:
75-
python-version: '3.8'
75+
python-version: "3.8"
7676

7777
- name: Check compliance with pep8, pyflakes and circular complexity
7878
run: |
@@ -81,15 +81,15 @@ jobs:
8181
./run-tests.sh --check-flake8
8282
8383
lint-pydocstyle:
84-
runs-on: ubuntu-20.04
84+
runs-on: ubuntu-22.04
8585
steps:
8686
- name: Checkout
8787
uses: actions/checkout@v3
8888

8989
- name: Setup Python
9090
uses: actions/setup-python@v4
9191
with:
92-
python-version: '3.8'
92+
python-version: "3.8"
9393

9494
- name: Check compliance with Python docstring conventions
9595
run: |
@@ -98,15 +98,15 @@ jobs:
9898
./run-tests.sh --check-pydocstyle
9999
100100
lint-check-manifest:
101-
runs-on: ubuntu-20.04
101+
runs-on: ubuntu-22.04
102102
steps:
103103
- name: Checkout
104104
uses: actions/checkout@v3
105105

106106
- name: Setup Python
107107
uses: actions/setup-python@v4
108108
with:
109-
python-version: '3.8'
109+
python-version: "3.8"
110110

111111
- name: Check Python manifest completeness
112112
run: |
@@ -115,15 +115,15 @@ jobs:
115115
./run-tests.sh --check-manifest
116116
117117
docs-sphinx:
118-
runs-on: ubuntu-20.04
118+
runs-on: ubuntu-22.04
119119
steps:
120120
- name: Checkout
121121
uses: actions/checkout@v3
122122

123123
- name: Setup Python
124124
uses: actions/setup-python@v4
125125
with:
126-
python-version: '3.8'
126+
python-version: "3.8"
127127

128128
- name: Install system dependencies
129129
run: |
@@ -140,10 +140,10 @@ jobs:
140140
run: ./run-tests.sh --check-sphinx
141141

142142
python-tests:
143-
runs-on: ubuntu-20.04
143+
runs-on: ubuntu-22.04
144144
strategy:
145145
matrix:
146-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
146+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
147147

148148
steps:
149149
- name: Checkout

0 commit comments

Comments
 (0)