From 8608208b5331eb7a1ce4106b82b5fdda86663b6a Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Mon, 13 Feb 2023 17:21:10 +0100 Subject: [PATCH] Enhance testing documentation header --- TESTING.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/TESTING.md b/TESTING.md index 0604cf1..2b009e0 100644 --- a/TESTING.md +++ b/TESTING.md @@ -1,9 +1,16 @@ # Tests -This page describe how to run and extend integrations tests. +This collection uses GitHub Actions to run ansible-test to validate its content. Three type of tests are used: Sanity, Integration and Units. + +The tests covers the code for plugins and roles (no role available yet, but tests are ready) and can be found here: + +- Plugins: *.github/workflows/ansible-test-plugins.yml* +- Roles: *.github/workflows/ansible-test-roles.yml* (unused yet) + +Everytime you push on your fork or you create a pull request, both workflows runs. You can see the output on the "Actions" tab. -## Testing locally +## Integration tests You can use GitHub to run ansible-test either on the community repo or your fork. But sometimes you want to quickly test a single version or a single target. To do that, you can use the Makefile present at the root of this repository.