Skip to content

Commit 59752eb

Browse files
committed
Start testing on Ubuntu 24.04 runners.
1 parent ddcb26d commit 59752eb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/run-partial-tests.yaml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: tests/run-partial-tests.sh
2+
run-name: tests/run-partial-tests.sh${{ github.event_name == 'workflow_dispatch' && ! inputs.full && format(' Dockerfile.{0} with {1}', inputs.os, inputs.docker) || ' all' }} @ ${{ inputs.runs-on == '' && 'ubuntu-24.04' || inputs.runs-on }}
23

34
on:
45
schedule:
@@ -19,10 +20,17 @@ on:
1920
options:
2021
- docker
2122
- podman
23+
runs-on:
24+
description: Host Ubuntu version
25+
type: choice
26+
options:
27+
- ubuntu-24.04
28+
- ubuntu-22.04
29+
- ubuntu-20.04
2230

2331
jobs:
2432
gen-matrix:
25-
runs-on: ubuntu-22.04
33+
runs-on: ubuntu-latest
2634
timeout-minutes: 5
2735
outputs:
2836
matrix: ${{ steps.dispatch-matrix.outputs.matrix }}${{ steps.default-matrix.outputs.matrix }}
@@ -46,7 +54,7 @@ jobs:
4654
if: github.event_name == 'workflow_dispatch' && ! inputs.full
4755

4856
test:
49-
runs-on: ${{ matrix.runs-on || 'ubuntu-22.04' }}
57+
runs-on: ${{ inputs.runs-on || 'ubuntu-24.04' }}
5058
needs: [ gen-matrix ]
5159
strategy:
5260
fail-fast: false
@@ -56,9 +64,9 @@ jobs:
5664
- uses: actions/checkout@v4
5765
- name: Install podman 4.*
5866
uses: ./.github/actions/install-podman-4
59-
if: matrix.docker == 'podman' && matrix.runs-on != 'ubuntu-20.04'
67+
if: matrix.docker == 'podman' && inputs.runs-on == 'ubuntu-22.04'
6068
- uses: ./.github/actions/docker-cgroups-ubuntu-22
61-
if: matrix.docker == 'docker' && matrix.runs-on != 'ubuntu-20.04'
69+
if: matrix.docker == 'docker' && inputs.runs-on != 'ubuntu-20.04'
6270
- name: For RHEL builds, use entitlements
6371
if: ${{ startsWith(matrix.os, 'rhel-') }}
6472
uses: ./.github/actions/podman-entitlement

0 commit comments

Comments
 (0)