Files
python-test/.drone.jsonnet
T
admin-tea 101100b3cc
ci-tests/python-test/pipeline/head There was a failure building this commit
continuous-integration/drone/push Build was killed
convert to using py37
2022-03-03 23:35:17 +02:00

24 lines
496 B
Jsonnet

local Pipeline(name, image) = {
kind: "pipeline",
name: name,
steps: [
{
name: "test",
image: image,
commands: [
"apt-get install -yqq --no-install-recommends libpg",
"pip install -r requirements.txt",
"python manage.py migrate",
"python manage.py test"
]
}
]
};
[
Pipeline("python-2", "python:2"),
Pipeline("python-3-7", "python:3.7"),
Pipeline("python-3-8", "python:3.8"),
Pipeline("python-3-9", "python:3.9"),
]