Files
python-test/.drone.jsonnet
admin-tea c5c9a67924
continuous-integration/drone/push Build is passing
ci-tests/python-test/pipeline/head There was a failure building this commit
Fixed issues with gcc for apk and updated to python version 3.6
2022-03-20 17:13:29 +02:00

27 lines
543 B
Jsonnet

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