linux-system-roles / postfix

An ansible role which configures postfix
https://linux-system-roles.github.io/postfix/
GNU General Public License v3.0
13 stars 20 forks source link

Create separate github actions for various checks; get rid of monolithic tox.yml #72

Closed richm closed 1 year ago

richm commented 1 year ago

There are now separate github actions for the various tests, instead of all of them being done as part of the tox tests in tox.yml - ansible-lint, ansible-test, etc.

Use the officially supported github actions e.g. for ansible-lint, ansible-test, rather than using our own from tox-lsr and trying to keep up with the latest changes. Developers will still be able to use tox-lsr on their local development environments to run these tests in the same way that they are run in github actions, so that errors found when submitting PRs can be reproduced and corrected locally without too many github UI roundtrips.

Using separate github actions, and especially the official github actions which generally have support for in-line comments, should help greatly with readability and troubleshooting test results.

Python tests are removed from roles that do not use python.

Python tests are now done by python-unit-tests.yml which also does the black, flake8, and pylint tests.

Signed-off-by: Rich Megginson rmeggins@redhat.com