Fix eks integration test failure #232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.sha }}' | |
cancel-in-progress: true | |
on: | |
pull_request_target: | |
jobs: | |
integration: | |
env: | |
source: "./source" | |
amazon: "./amazon" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ansible-version: | |
- milestone | |
python-version: | |
- "3.11" | |
name: "ansible-test-integration-py${{ matrix.python-version }}-${{ matrix.ansible-version }}" | |
steps: | |
- name: Checkout collection | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ env.source }} | |
fetch-depth: "0" | |
- name: checkout amazon.aws | |
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main | |
with: | |
repository: ansible-collections/amazon.aws | |
path: ${{ env.amazon }} | |
ref: main | |
- name: Build and install collection | |
id: install-src | |
uses: ansible-network/github_actions/.github/actions/build_install_collection@main | |
with: | |
install_python_dependencies: true | |
source_path: ${{ env.source }} | |
- name: Build and install amazon.aws collection | |
id: install-amazon | |
uses: ansible-network/github_actions/.github/actions/build_install_collection@main | |
with: | |
install_python_dependencies: true | |
source_path: ${{ env.amazon }} | |
- name: Create AWS/sts session credentials | |
uses: ansible-network/github_actions/.github/actions/ansible_aws_test_provider@main | |
with: | |
collection_path: ${{ steps.install-src.outputs.collection_path }} | |
ansible_core_ci_key: ${{ secrets.ANSIBLE_CORE_CI_KEY }} | |
- name: Run integration tests | |
uses: ansible-network/github_actions/.github/actions/ansible_test_integration@main | |
with: | |
collection_path: ${{ steps.install-src.outputs.collection_path }} | |
python_version: ${{ matrix.python-version }} | |
ansible_version: ${{ matrix.ansible-version }} |