Debian Codegraph @

ansible_collections/amazon/aws/CI.md

raw
1 # Continuous Integration (CI)
2
3 ## AWS Upstream Testing
4
5 GitHub Actions are used to run the CI for the amazon.aws collection. The workflows used for the CI can be found [here](https://github.com/ansible-collections/amazon.aws/tree/stable-11/.github/workflows). These workflows include jobs to run the unit tests, sanity tests, linters, and changelog checks.
6
7 The collection uses reusable workflows from [ansible-network/github_actions](https://github.com/ansible-network/github_actions) for standardized testing.
8
9 To learn more about the testing strategy, see [this proposal](https://github.com/ansible-collections/cloud-content-handbook/blob/main/Proposals/core_collection_dependency.md).
10
11 ### PR Testing Workflows
12
13 The following tests run on every pull request:
14
15 | Job | Description | Python Versions | ansible-core Versions |
16 | --- | ----------- | --------------- | --------------------- |
17 | Changelog | Checks for the presence of changelog fragments | 3.12 | devel |
18 | Linters | Runs `black` and `flake8` on plugins and tests | 3.10 | devel |
19 | Sanity | Runs ansible sanity checks | See compatibility table below | devel, stable-2.17, stable-2.18, stable-2.19, stable-2.20 |
20 | Unit tests | Executes unit test cases | See compatibility table below | devel, stable-2.17, stable-2.18, stable-2.19, stable-2.20 |
21 | Integration tests | Executes integration test suites (handled by Zuul) | >=3.8 | Zuul build pipeline |
22
23 ### Python Version Compatibility by ansible-core Version
24
25 These are outlined in the collection's [/tox.ini](/tox.ini) file (`envlist`) and GitHub Actions workflow exclusions.
26
27 | ansible-core Version | Sanity Tests | Unit Tests |
28 | -------------------- | ------------ | ---------- |
29 | devel | 3.12, 3.13, 3.14 | 3.12, 3.13 |
30 | stable-2.20 | 3.12, 3.13, 3.14 | 3.12, 3.13 |
31 | stable-2.19 | 3.11, 3.12, 3.13 | 3.11, 3.12, 3.13 |
32 | stable-2.18 | 3.11, 3.12, 3.13 | 3.11, 3.12, 3.13 |
33 | stable-2.17 | 3.10, 3.11, 3.12 | 3.10, 3.11, 3.12 |