[PR #1845/02b15111 backport][stable-6] Work on ec2_instance integration test flakes #307
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: Test collection | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- main | |
- 'stable-*' | |
workflow_dispatch: | |
jobs: | |
linters: | |
uses: abikouo/github_actions/.github/workflows/tox-linters.yml@tox_linters | |
changelog: | |
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main | |
sanity: | |
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main | |
with: | |
matrix_include: "[]" | |
matrix_exclude: >- | |
[ | |
{ | |
"ansible-version": "stable-2.9" | |
}, | |
{ | |
"ansible-version": "stable-2.12", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.12", | |
"python-version": "3.11" | |
}, | |
{ | |
"ansible-version": "stable-2.13", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.13", | |
"python-version": "3.11" | |
}, | |
{ | |
"ansible-version": "stable-2.14", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.14", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "stable-2.15", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.15", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "milestone", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "milestone", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "devel", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "devel", | |
"python-version": "3.8" | |
} | |
] | |
unit-source: | |
uses: ansible-network/github_actions/.github/workflows/unit_source.yml@main | |
with: | |
matrix_exclude: >- | |
[ | |
{ | |
"python-version": "3.11" | |
}, | |
{ | |
"ansible-version": "stable-2.12", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.13", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.12", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "stable-2.13", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "stable-2.14", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.14", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "stable-2.15", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "stable-2.15", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "milestone", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "milestone", | |
"python-version": "3.8" | |
}, | |
{ | |
"ansible-version": "devel", | |
"python-version": "3.7" | |
}, | |
{ | |
"ansible-version": "devel", | |
"python-version": "3.8" | |
} | |
] | |
collection_pre_install: '' | |
all_green: | |
if: ${{ always() }} | |
needs: | |
- changelog | |
- linters | |
- sanity | |
- unit-source | |
runs-on: ubuntu-latest | |
steps: | |
- run: >- | |
python -c "assert set([ | |
'${{ needs.changelog.result }}', | |
'${{ needs.sanity.result }}', | |
'${{ needs.linters.result }}', | |
'${{ needs.unit-source.result }}' | |
]) == {'success'}" |