GitHub Actions are used to run the CI for the amazon.cloud collection. The workflows used for the CI can be found in the .github/workflows directory.
The following tests run on every pull request:
| Job | Description | Python Versions | ansible-core Versions |
|---|---|---|---|
| Changelog | Checks for the presence of changelog fragments | 3.9 | devel |
| Linters | Runs black and flake8 on plugins and tests |
3.9 | N/A |
| ansible-test | Runs ansible sanity and unit tests | See compatibility table below | devel, milestone, stable-2.17, stable-2.18, stable-2.19, stable-2.20, stable-2.21 |
| Integration | Executes integration test suites | 3.11 | milestone |
Note: Integration tests require manual approval via the protected environment and AWS credentials from ansible-core-ci.
These are outlined in the .github/workflows/ansible-test.yml matrix exclusions.
| ansible-core Version | Sanity Tests | Unit Tests |
|---|---|---|
| devel | 3.12, 3.13, 3.14 | 3.12, 3.13, 3.14 |
| milestone | 3.12, 3.13, 3.14 | 3.12, 3.13, 3.14 |
| stable-2.21 | 3.12, 3.13, 3.14 | 3.12, 3.13, 3.14 |
| stable-2.20 | 3.11, 3.12, 3.13 | 3.11, 3.12, 3.13 |
| stable-2.19 | 3.11, 3.12, 3.13 | 3.11, 3.12, 3.13 |
| stable-2.18 | 3.11, 3.12, 3.13 | 3.11, 3.12, 3.13 |
| stable-2.17 | 3.10, 3.11, 3.12 | 3.10, 3.11, 3.12 |