Skip to content

Configuring non root sudoer for molecule tests #1265

Configuring non root sudoer for molecule tests

Configuring non root sudoer for molecule tests #1265

Workflow file for this run

name: Run linters (ansible-lint, antsibull-docs, galaxy-importer)
on:
push:
pull_request:
jobs:
run-linters:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ansible-lint
run: |
python -m pip install --upgrade pip
pip install -r testing-requirements.txt
ansible-galaxy install -r requirements.yml
# we also lint the molecule setup
ansible-galaxy install -r molecule/requirements.yml
make lint
make galaxy-importer-test
# ensure that the role README was regenerated
make role-readme
if ! git diff --exit-code roles/tas_single_node/README.md; then
echo "roles/tas_single_node/README.md not regenerated, please run 'make role-readme'"
exit 1
fi