Skip to content

Commit

Permalink
Changing systems when PR is created
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Sep 17, 2024
1 parent cccd735 commit 2b0dacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Test_installation_assistant_distributed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
SYSTEMS:
description: 'Operating Systems (list of comma-separated quoted strings enclosed in square brackets)'
required: true
default: '["Ubuntu_22"]'
default: '["CentOS_8", "AmazonLinux_2","Ubuntu_22", "RHEL8"]'
type: string
VERBOSITY:
description: 'Verbosity level on playbooks execution'
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false # If a job fails, the rest of jobs will not be canceled
matrix:
system: ${{ fromJson(inputs.SYSTEMS) }}
system: ${{ github.event_name == 'pull_request' && '["Ubuntu_22"]' || fromJson(inputs.SYSTEMS) }} # If the worklflow is executed by a PR, set the OSs

steps:
- name: Checkout code
Expand Down

0 comments on commit 2b0dacd

Please sign in to comment.