Merge pull request #796 from konstruktoid/renovate/github-codeql-acti… #172
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Molecule testing workflow | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 5 * * */3" | |
jobs: | |
molecule-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get --assume-yes --no-install-recommends install python3-pip | |
python3 -m pip install --user -U ansible ansible-lint \ | |
jmespath molecule-plugins[docker] passlib | |
python3 -m pip install --user 'requests==2.28.1' | |
- name: Run ansible-lint | |
run: | | |
ansible-lint | |
- name: Run molecule | |
run: | | |
ANSIBLE_REMOTE_TMP="/var/tmp/${USER}/ansible" \ | |
molecule test -s docker |