Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tosin2013 committed Jan 6, 2025
1 parent b39f4b5 commit 40bfb7c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,41 @@ Every voice is important. If you have something on your mind, create an issue or

<!--Include some quick examples that cover the most common use cases for your collection content. It can include the following examples of installation and upgrade (change qubinode.qubinode_kvmhost_setup_collection correspondingly):-->

## Testing and CI/CD

This collection includes comprehensive testing through GitHub Actions CI/CD pipelines. The testing strategy includes:

### Supported Versions
- Ansible: 2.12, 2.13, 2.14, devel, and milestone releases
- Python: 3.9 and 3.10

### Testing Workflow
The CI/CD pipeline includes:
1. **Linting**: Runs ansible-lint on all roles
2. **Unit Tests**: Molecule-based tests for all roles
3. **Integration Tests**: Docker-based integration testing
4. **Version Monitoring**: Automated checks for new Ansible releases

### Running Tests Locally
To run tests locally, ensure you have:
- Molecule installed: `pip install molecule molecule-docker pytest-testinfra`
- Docker running

Run tests for a specific role:
```bash
cd roles/<role_name>
molecule test
```

Run all tests:
```bash
molecule test --all
```

### Version Monitoring
The CI pipeline automatically monitors for new Ansible releases and will notify maintainers when updates are available. This helps ensure compatibility with the latest Ansible versions.


### Installing the Collection from Ansible Galaxy

Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
Expand Down

0 comments on commit 40bfb7c

Please sign in to comment.