ci: switch to molecule v4
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-12-21 09:13:42 +01:00
parent 8a281fe5ed
commit 2a32fd5252
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 7 additions and 7 deletions

View File

@ -15,18 +15,18 @@ local PipelineLinting = {
}, },
{ {
name: 'python-format', name: 'python-format',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
commands: [ commands: [
'pip install -qq yapf', 'pip install -qq yapf',
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)', '[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
], ],
}, },
{ {
name: 'python-flake8', name: 'python-flake8',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },

View File

@ -13,15 +13,15 @@ steps:
- ansible-later - ansible-later
- name: python-format - name: python-format
image: python:3.10 image: python:3.11
commands: commands:
- pip install -qq yapf - pip install -qq yapf
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)" - "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
- name: python-flake8 - name: python-flake8
image: python:3.10 image: python:3.11
commands: commands:
- pip install -qq flake8 - pip install -qq flake8
- flake8 - flake8
@ -115,6 +115,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 51e450379a168bbaf51c9cda77ab9f52deddb59a6e937fc06f78b7c4c51f2df5 hmac: e03277d4397a64c77ebaecb7472dc26044745172e5be809ee63fad4ac4a0bc2a
... ...