Skip to content

Bump actions/setup-python from 2 to 5 #512

Bump actions/setup-python from 2 to 5

Bump actions/setup-python from 2 to 5 #512

# Github action to run Molecule for "base"
name: loadbalancer
on:
push:
paths:
- 'roles/haproxy/**'
- 'roles/keepalived/**'
- 'roles/bind/**'
- 'molecule/loadbalancer/**'
- 'roles/selfsigned_certs/**'
- '.github/workflows/molecule-loadbalancer.yml'
pull_request:
paths:
- 'roles/haproxy/**'
- 'roles/keepalived/**'
- 'roles/bind/**'
- 'molecule/loadbalancer/**'
- 'roles/selfsigned_certs/**'
- '.github/workflows/molecule-loadbalancer.yml'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Installing dependencies
run: pip install jinja2 ansible molecule molecule-docker pytest-testinfra pytest setuptools
- name: Run role tests
run: molecule test -s loadbalancer