Skip to content

Commit 8256870

Browse files
authored
Backport PR #50113: CI try using ubuntu20.04 (#50114)
1 parent 071bd27 commit 8256870

11 files changed

+15
-15
lines changed

.github/workflows/32-bit-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
pytest:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-20.04
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v3

.github/workflows/assign.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
issues: write
1313
pull-requests: write
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515
steps:
1616
- if: github.event.comment.body == 'take'
1717
run: |

.github/workflows/asv-bot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: "Run benchmarks"
2222
# TODO: Support more benchmarking options later, against different branches, against self, etc
2323
if: startsWith(github.event.comment.body, '@github-actions benchmark')
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-20.04
2525
defaults:
2626
run:
2727
shell: bash -el {0}

.github/workflows/autoupdate-pre-commit-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
pull-requests: write # for technote-space/create-pr-action to create a PR
1616
if: github.repository_owner == 'pandas-dev'
1717
name: Autoupdate pre-commit config
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-20.04
1919
steps:
2020
- name: Set up Python
2121
uses: actions/setup-python@v3

.github/workflows/code-checks.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
pre_commit:
2222
name: pre-commit
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-20.04
2424
concurrency:
2525
# https://github.community/t/concurrecy-not-work-for-push/183068/7
2626
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pre-commit
@@ -39,7 +39,7 @@ jobs:
3939

4040
typing_and_docstring_validation:
4141
name: Docstring and typing validation
42-
runs-on: ubuntu-latest
42+
runs-on: ubuntu-20.04
4343
defaults:
4444
run:
4545
shell: bash -el {0}
@@ -98,7 +98,7 @@ jobs:
9898

9999
asv-benchmarks:
100100
name: ASV Benchmarks
101-
runs-on: ubuntu-latest
101+
runs-on: ubuntu-20.04
102102
defaults:
103103
run:
104104
shell: bash -el {0}
@@ -129,7 +129,7 @@ jobs:
129129
130130
build_docker_dev_environment:
131131
name: Build Docker Dev Environment
132-
runs-on: ubuntu-latest
132+
runs-on: ubuntu-20.04
133133
defaults:
134134
run:
135135
shell: bash -el {0}
@@ -156,7 +156,7 @@ jobs:
156156

157157
requirements-dev-text-installable:
158158
name: Test install requirements-dev.txt
159-
runs-on: ubuntu-latest
159+
runs-on: ubuntu-20.04
160160

161161
concurrency:
162162
# https://github.community/t/concurrecy-not-work-for-push/183068/7

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010

1111
jobs:
1212
analyze:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
permissions:
1515
actions: read
1616
contents: read

.github/workflows/docbuild-and-upload.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222
jobs:
2323
web_and_docs:
2424
name: Doc Build and Upload
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-20.04
2626

2727
concurrency:
2828
# https://github.community/t/concurrecy-not-work-for-push/183068/7

.github/workflows/python-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
fail-fast: false
5151
matrix:
52-
os: [ubuntu-latest, macOS-latest, windows-latest]
52+
os: [ubuntu-20.04, macOS-latest, windows-latest]
5353

5454
name: actions-311-dev
5555
timeout-minutes: 120

.github/workflows/sdist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
build:
2121
if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-20.04
2323
timeout-minutes: 60
2424
defaults:
2525
run:

.github/workflows/stale-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale:
1212
permissions:
1313
pull-requests: write
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515
steps:
1616
- uses: actions/stale@v4
1717
with:

.github/workflows/ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
jobs:
2222
pytest:
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-20.04
2424
defaults:
2525
run:
2626
shell: bash -el {0}

0 commit comments

Comments
 (0)