Skip to content

Commit 0940a54

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Use ubuntu-22.04 across Github Actions.
PiperOrigin-RevId: 708231695
1 parent 5c2bd15 commit 0940a54

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/pytest-optional.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
jobs:
1919
activate-tests:
2020
name: Check whether we should run tests or not
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222

2323
steps:
2424
- uses: actions/checkout@v3
@@ -36,10 +36,10 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
tf-version: [tensorflow, tf-nightly]
39-
os-version: [ubuntu-latest, macos-latest]
39+
os-version: [ubuntu-22.04, macos-latest]
4040
exclude:
4141
- tf-version: tensorflow
42-
os-version: ubuntu-latest
42+
os-version: ubuntu-22.04
4343

4444
name: 'Core TFDS tests'
4545
uses: ./.github/workflows/pytest-template.yml

.github/workflows/pytest-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
shards-job:
1616
name: Generate shards
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818

1919
steps:
2020
- name: Create variables

.github/workflows/pytest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ concurrency:
3232
jobs:
3333
activate-tests:
3434
name: Check whether we should run tests or not
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636

3737
steps:
3838
- uses: actions/checkout@v3
@@ -50,7 +50,7 @@ jobs:
5050
uses: ./.github/workflows/pytest-template.yml
5151
with:
5252
tf-version: tensorflow
53-
os-version: ubuntu-latest
53+
os-version: ubuntu-22.04
5454

5555
huggingface-pytest-job:
5656
needs: activate-tests
@@ -59,7 +59,7 @@ jobs:
5959
# HuggingFace tests need to be run separately because they're disabled without installed
6060
# `datasets` library.
6161
name: 'HuggingFace Python 3.10 tests'
62-
runs-on: ubuntu-latest
62+
runs-on: ubuntu-22.04
6363
timeout-minutes: 30
6464

6565
steps:
@@ -81,7 +81,7 @@ jobs:
8181
if: ${{ needs.activate-tests.outputs.status }}
8282

8383
name: 'Github API tests'
84-
runs-on: ubuntu-latest
84+
runs-on: ubuntu-22.04
8585
timeout-minutes: 30
8686

8787
steps:
@@ -100,7 +100,7 @@ jobs:
100100
if: ${{ needs.activate-tests.outputs.status }}
101101

102102
name: 'Notebook tests'
103-
runs-on: ubuntu-latest
103+
runs-on: ubuntu-22.04
104104
timeout-minutes: 30
105105

106106
steps:

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
publish-job:
1818
# Prevents action from running on forks.
1919
if: github.repository == 'tensorflow/datasets'
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121

2222
steps:
2323
- name: Set nightly build variables

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
publish-job:
2020
# Prevents action from running on forks and non-master branches.
2121
if: github.repository == 'tensorflow/datasets'
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
permissions:
2424
contents: write
2525

0 commit comments

Comments
 (0)