mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-11-22 04:00:40 +00:00
fetch git tags before poetry commands
This commit is contained in:
parent
97c8e5180c
commit
20773cbb24
@ -5,7 +5,6 @@ local PythonVersion(pyversion='3.5') = {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
'pip install poetry poetry-dynamic-versioning -qq',
|
||||
'poetry install -q',
|
||||
'poetry run pytest dockertidy --cov=dockertidy --cov-append --no-cov-on-fail',
|
||||
@ -54,6 +53,13 @@ local PipelineTest = {
|
||||
arch: 'amd64',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'fetch',
|
||||
image: 'python:3.9',
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
],
|
||||
},
|
||||
PythonVersion(pyversion='3.6'),
|
||||
PythonVersion(pyversion='3.7'),
|
||||
PythonVersion(pyversion='3.8'),
|
||||
|
11
.drone.yml
11
.drone.yml
@ -35,10 +35,14 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: fetch
|
||||
image: python:3.9
|
||||
commands:
|
||||
- git fetch -tq
|
||||
|
||||
- name: python36-pytest
|
||||
image: python:3.6
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
- poetry install -q
|
||||
- poetry run pytest dockertidy --cov=dockertidy --cov-append --no-cov-on-fail
|
||||
@ -52,7 +56,6 @@ steps:
|
||||
- name: python37-pytest
|
||||
image: python:3.7
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
- poetry install -q
|
||||
- poetry run pytest dockertidy --cov=dockertidy --cov-append --no-cov-on-fail
|
||||
@ -66,7 +69,6 @@ steps:
|
||||
- name: python38-pytest
|
||||
image: python:3.8
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
- poetry install -q
|
||||
- poetry run pytest dockertidy --cov=dockertidy --cov-append --no-cov-on-fail
|
||||
@ -80,7 +82,6 @@ steps:
|
||||
- name: python39-pytest
|
||||
image: python:3.9
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
- poetry install -q
|
||||
- poetry run pytest dockertidy --cov=dockertidy --cov-append --no-cov-on-fail
|
||||
@ -663,6 +664,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 0d65e2bcc25f551af7335b766efdfe441f634d411c4fab68d11367e51a9a2e22
|
||||
hmac: e6019acabf9aa621c86476cf604105cfdee5a58d6c0cbea069b9159f180ecf24
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user