Skip to content

Bump ansible-lint from 24.9.2 to 24.12.2 #14

Bump ansible-lint from 24.9.2 to 24.12.2

Bump ansible-lint from 24.9.2 to 24.12.2 #14

---
name: OpenTelemetry Collector Molecule
on:
push:
branches:
- main
pull_request:
branches:
- main
defaults:
run:
working-directory: roles/opentelemetry_collector
jobs:
molecule:
name: Molecule
runs-on: ubuntu-latest
strategy:
matrix:
scenario:
- default
- latest
- non-contrib
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install ansible molecule molecule-plugins[docker] docker pytest-testinfra
- name: Run Molecule tests.
run: molecule test -s ${{ matrix.scenario }}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'