ci: use python3.9 for pipeline steps and remove python3.5
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2021-02-19 13:47:26 +01:00
parent 8aacd6b34f
commit 922a7c46d1
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 18 additions and 18 deletions

View File

@ -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/',

View File

@ -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
...