diff --git a/.drone.jsonnet b/.drone.jsonnet index 69c9d8a..8d80f11 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,4 +1,4 @@ -local PythonVersion(pyversion='3.5') = { +local PythonVersion(pyversion='3.6') = { name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', image: 'python:' + pyversion, environment: { @@ -24,7 +24,7 @@ local PipelineLint = { steps: [ { name: 'flake8', - image: 'python:3.8', + image: 'python:3.9', environment: { PY_COLORS: 1, }, @@ -47,10 +47,10 @@ local PipelineTest = { arch: 'amd64', }, steps: [ - PythonVersion(pyversion='3.5'), PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), + PythonVersion(pyversion='3.9'), ], depends_on: [ 'lint', @@ -70,7 +70,7 @@ local PipelineBuild = { steps: [ { name: 'build', - image: 'python:3.8', + image: 'python:3.9', commands: [ 'pip install ansible -qq', 'ansible-galaxy collection build --output-path dist/', diff --git a/.drone.yml b/.drone.yml index 3d8a66b..18934e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: flake8 - image: python:3.8 + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - flake8 @@ -30,17 +30,6 @@ platform: arch: amd64 steps: -- name: python35-pytest - image: python:3.5 - commands: - - pip install -r dev-requirements.txt -qq - - pip install -r test/unit/requirements.txt -qq - - python -m pytest --cov --cov-append --no-cov-on-fail - environment: - PY_COLORS: 1 - depends_on: - - clone - - name: python36-pytest image: python:3.6 commands: @@ -74,6 +63,17 @@ steps: depends_on: - clone +- name: python39-pytest + image: python:3.9 + commands: + - pip install -r dev-requirements.txt -qq + - pip install -r test/unit/requirements.txt -qq + - python -m pytest --cov --cov-append --no-cov-on-fail + environment: + PY_COLORS: 1 + depends_on: + - clone + trigger: ref: - refs/heads/master @@ -93,7 +93,7 @@ platform: steps: - name: build - image: python:3.8 + image: python:3.9 commands: - pip install ansible -qq - ansible-galaxy collection build --output-path dist/ @@ -199,6 +199,6 @@ depends_on: --- kind: signature -hmac: ccd6854d77f9c42527ab5ca2b8337c8ee904fc917b9b229e2761352f578b35e6 +hmac: 1bd261fd58a56939db7b1e2cbccf52a5d3d43e04329da9222524fa924c9de9dc ...