Skip to content

Commit

Permalink
upstream ci: Run PR tests using a single job.
Browse files Browse the repository at this point in the history
The usual scenario for PR checks is to execute only a few tests, and
searching for the results in several jobs makes it harder to find
issues.

By using a single job run the tests would take some more time to
complete, although not much, as only a small subset is executed, and
test verification would be easier and less error prone.
  • Loading branch information
rjeffman committed Oct 5, 2023
1 parent eab7d6a commit bdea5ed
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions tests/azure/templates/fast_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,11 @@ jobs:
- template: playbook_fast.yml
parameters:
group_number: 1
number_of_groups: 3
number_of_groups: 1
build_number: ${{ parameters.build_number }}
scenario: ${{ parameters.scenario }}
ansible_version: ${{ parameters.ansible_version }}

- template: playbook_fast.yml
parameters:
group_number: 2
number_of_groups: 3
build_number: ${{ parameters.build_number }}
scenario: ${{ parameters.scenario }}
ansible_version: ${{ parameters.ansible_version }}

- template: playbook_fast.yml
parameters:
group_number: 3
number_of_groups: 3
build_number: ${{ parameters.build_number }}
scenario: ${{ parameters.scenario }}
ansible_version: ${{ parameters.ansible_version }}z

# - template: pytest_tests.yml
# parameters:
# build_number: ${{ parameters.build_number }}
Expand Down

0 comments on commit bdea5ed

Please sign in to comment.