From 9996a957546fc022fbb274b60a6d55065c4bf2d7 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 20 Aug 2024 15:56:22 -0400 Subject: [PATCH] github: allow manually running tests on specific Ubuntu releases Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 832c0c5b0..6c42d915e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: - cron: '38 6 * * *' workflow_dispatch: inputs: + ubuntu-releases: + description: List of Ubuntu releases to run the tests against. In JSON format, i.e. '["22.04", "24.04"]'. + type: string + default: '["20.04", "22.04", "24.04"]' snap-tracks: description: List of snap tracks to run the tests. In JSON format, i.e. '["latest/stable", "5.0/candidate"]'. type: string @@ -79,7 +83,7 @@ jobs: strategy: fail-fast: false matrix: - os: [20.04, 22.04, 24.04] + os: ${{ fromJSON(inputs.ubuntu-releases || '["20.04", "22.04", "24.04"]') }} track: ${{ fromJSON(inputs.snap-tracks || '["latest/edge", "5.21/edge", "5.0/edge", "4.0/edge"]') }} test: - cgroup