Skip to content

Commit

Permalink
workflow: Add test_e2e_docker trigger
Browse files Browse the repository at this point in the history
Currently the e2e tests only are authorised if they contain
`test_e2e_libvirt`, but now we have the docker provider tests
we might want to trigger them in isolation too.

Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Feb 4, 2025
1 parent 63e7228 commit 0f743d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/e2e_on_pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:
# triggering this workflow).
pull_request_target:
types:
# This workflow will be run if the pull request is labeled test_e2e_libvirt, so
# adding 'labeled' to the list of activity types.
# This workflow will be run if the pull request is labeled test_e2e_libvirt, or
# test_e2e_docker, so adding 'labeled' to the list of activity types.
#
- opened
- synchronize
Expand All @@ -33,7 +33,9 @@ concurrency:
jobs:
authorize:
runs-on: ubuntu-24.04
if: contains(github.event.pull_request.labels.*.name, 'test_e2e_libvirt')
if: |
contains(github.event.pull_request.labels.*.name, 'test_e2e_libvirt') ||
contains(github.event.pull_request.labels.*.name, 'test_e2e_docker')
steps:
- run: "true"
e2e:
Expand Down

0 comments on commit 0f743d6

Please sign in to comment.