From 8a040afd60d7147bc0cb6ab4dc7cac4e3ae0f7a6 Mon Sep 17 00:00:00 2001 From: Mark Mercado Date: Mon, 3 Oct 2022 05:09:56 -0400 Subject: [PATCH] Make PR int tests like ordinary int tests --- .../workflows/pull-request-integration.yml | 49 +++++++++++++++++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request-integration.yml b/.github/workflows/pull-request-integration.yml index 44b19115..c5685e10 100644 --- a/.github/workflows/pull-request-integration.yml +++ b/.github/workflows/pull-request-integration.yml @@ -55,8 +55,50 @@ jobs: if: ${{ needs.changes.outputs.module-utils-matrix != '[""]' }} strategy: fail-fast: false + max-parallel: 1 matrix: - module: ${{ fromJSON(needs.changes.outputs.module-matrix) }} + module: + - digital_ocean_account_info + - digital_ocean_balance_info + - digital_ocean_block_storage + - digital_ocean_cdn_endpoints + - digital_ocean_cdn_endpoints_info + - digital_ocean_certificate + - digital_ocean_certificate_info + - digital_ocean_database + - digital_ocean_database_info + - digital_ocean_domain + - digital_ocean_domain_info + - digital_ocean_domain_record + - digital_ocean_domain_record_info + - digital_ocean_droplet + - digital_ocean_droplet_info + - digital_ocean_firewall + - digital_ocean_firewall_info + - digital_ocean_floating_ip + - digital_ocean_floating_ip_info + - digital_ocean_image_info + - digital_ocean_kubernetes + - digital_ocean_kubernetes_info + - digital_ocean_load_balancer + - digital_ocean_load_balancer_info + - digital_ocean_monitoring_alerts + - digital_ocean_monitoring_alerts_info + - digital_ocean_project + - digital_ocean_project_info + - digital_ocean_region_info + - digital_ocean_size_info + - digital_ocean_snapshot + - digital_ocean_snapshot_info + - digital_ocean_spaces + - digital_ocean_spaces_info + - digital_ocean_sshkey + - digital_ocean_sshkey_info + - digital_ocean_tag + - digital_ocean_tag_info + - digital_ocean_volume_info + - digital_ocean_vpc + - digital_ocean_vpc_info steps: - name: Perform testing (all modules) uses: ansible-community/ansible-test-gh-action@release/v1 @@ -69,10 +111,11 @@ jobs: ./tests/utils/render.sh tests/integration/integration_config.yml.template > tests/integration/integration_config.yml - output-python-version: 3.9 + origin-python-version: 3.9 target-python-version: 3.9 testing-type: integration test-deps: community.general + target: ${{ matrix.module }} test-modules: runs-on: ubuntu-latest @@ -95,7 +138,7 @@ jobs: ./tests/utils/render.sh tests/integration/integration_config.yml.template > tests/integration/integration_config.yml - output-python-version: 3.9 + origin-python-version: 3.9 target-python-version: 3.9 testing-type: integration test-deps: community.general