Skip to content

chore(deps): update dependency pytest-testinfra to v10 (#57) #243

chore(deps): update dependency pytest-testinfra to v10 (#57)

chore(deps): update dependency pytest-testinfra to v10 (#57) #243

Workflow file for this run

name: CI
on:
push:
tags: ["v*.*.*"]
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/[email protected]
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- run: make install
- run: make lint
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- ubuntu:focal
- debian:bullseye
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/cache@v3
with:
path: |
~/.ansible/collections
~/.ansible/roles
key: ${{ runner.os }}-ansible-${{ hashFiles('**/requirements.yml') }}
- run: make install
- run: make test
env:
PY_COLORS: true
ANSIBLE_FORCE_COLOR: true
MOLECULE_IMAGE: ${{ matrix.image }}