You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dinglehopper/.drone.jsonnet

25 lines
489 B
Plaintext

local Pipeline(name, image) = {
kind: "pipeline",
name: name,
steps: [
{
name: "test",
image: image,
commands: [
"pip install -U pip",
"pip install -r requirements.txt",
"pip install pytest",
"pytest"
]
}
]
};
[
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"),
Pipeline("python-3-10", "python:3.10"),
]