Skip to content

Commit f37e58e

Browse files
committed
ci(actions): upgrade to Ubuntu 24.04 and Python 3.12 (#236)
Closes reanahub/reana#808
1 parent de1e03b commit f37e58e

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on: [push, pull_request]
1010

1111
jobs:
1212
lint-commitlint:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -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 }} ${{ github.event.pull_request.number }}
3737
3838
lint-shellcheck:
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-24.04
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@v4
@@ -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-24.04
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v4
5454

5555
- name: Setup Python
5656
uses: actions/setup-python@v5
5757
with:
58-
python-version: "3.8"
58+
python-version: "3.12"
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-24.04
6868
steps:
6969
- name: Checkout
7070
uses: actions/checkout@v4
7171

7272
- name: Setup Python
7373
uses: actions/setup-python@v5
7474
with:
75-
python-version: "3.8"
75+
python-version: "3.12"
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-24.04
8585
steps:
8686
- name: Checkout
8787
uses: actions/checkout@v4
8888

8989
- name: Setup Python
9090
uses: actions/setup-python@v5
9191
with:
92-
python-version: "3.8"
92+
python-version: "3.12"
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-24.04
102102
steps:
103103
- name: Checkout
104104
uses: actions/checkout@v4
105105

106106
- name: Setup Python
107107
uses: actions/setup-python@v5
108108
with:
109-
python-version: "3.8"
109+
python-version: "3.12"
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-24.04
119119
steps:
120120
- name: Checkout
121121
uses: actions/checkout@v4
122122

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

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

142142
python-tests:
143-
runs-on: ubuntu-20.04
143+
runs-on: ubuntu-24.04
144144
strategy:
145145
matrix:
146146
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
@@ -164,7 +164,7 @@ jobs:
164164
run: ./run-tests.sh --check-pytest
165165

166166
- name: Codecov Coverage
167-
if: matrix.python-version == 3.8
167+
if: matrix.python-version == 3.12
168168
uses: codecov/codecov-action@v4
169169
with:
170170
token: ${{ secrets.CODECOV_TOKEN }}

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
version: 2
88

99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
12-
python: "3.8"
12+
python: "3.12"
1313

1414
sphinx:
1515
configuration: docs/conf.py

0 commit comments

Comments
 (0)