Skip to content

Commit

Permalink
github: allow manually running tests on specific Ubuntu releases (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Aug 21, 2024
2 parents e5662f0 + 9996a95 commit 474fefc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 474fefc

Please sign in to comment.