Update role to Leap 15.6 and podman #126
Workflow file for this run
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: Test deployment | |
'on': | |
pull_request: | |
push: | |
schedule: | |
# Run every Wednesday at 01:42 | |
- cron: "42 1 * * 3" | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out codebase | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip3 install yamllint | |
- name: Lint repository | |
run: yamllint . | |
molecule: | |
name: Molecule | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the codebase | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install requirements | |
run: sudo apt-get install podman python3-pip | |
- name: Install molecule | |
run: "pip3 install ansible-core molecule molecule-plugins[podman] pytest testinfra" | |
- name: Install ansible collections | |
run: ansible-galaxy collection install community.general | |
- name: Run Molecule | |
run: molecule test | |
env: | |
PY_COLORS: '1' | |
ANSIBLE_FORCE_COLOR: '1' |