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 19, 2023
1 parent 319a0d3 commit fe2d17e
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions tests/azure/templates/fast_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,12 @@ 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 }}
python_version: '< 3.12'

- 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 }}
python_version: '< 3.12'

- 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
python_version: '< 3.12'

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

0 comments on commit fe2d17e

Please sign in to comment.