Skip to content

Commit

Permalink
Make PR int tests like ordinary int tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mamercad committed Oct 3, 2022
1 parent 81705a9 commit 8a040af
Showing 1 changed file with 46 additions and 3 deletions.
49 changes: 46 additions & 3 deletions .github/workflows/pull-request-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8a040af

Please sign in to comment.