Bump ansible from 7.3.0 to 8.5.0 #368
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: Python package | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: [2-slim, 3.5-slim, 3.6-slim, 3.7-slim, 3.8-slim, 3.9-slim, 3.10-slim, 3.11-slim] | |
group: [1, 2] | |
scenario: | |
- default | |
- scram-kafka-270 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check docker install | |
run: | | |
set -e | |
docker info | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install -r test-requirements.txt | |
pip install -r requirements.txt | |
- name: Lint with flake8 | |
run: | | |
flake8 . | |
- name: Test with molecule ${{ matrix.python_version }} | |
run: | | |
export PYTHON_VERSION=${{ matrix.python_version }} | |
export PYTEST_SPLIT_SPLITS=2 | |
export PYTEST_SPLIT_GROUP=${{ matrix.group }} | |
export ANSIBLE_MODULE_UTILS=$PWD/module_utils | |
molecule create -s ${{ matrix.scenario }} | |
molecule converge -s ${{ matrix.scenario }} |