2022-09-14 07:27:17 +00:00
|
|
|
pipeline:
|
2022-09-14 15:03:46 +00:00
|
|
|
test-python1:
|
|
|
|
group: mygroup
|
|
|
|
image: python:${PYTHON_VERSION}
|
|
|
|
commands:
|
2022-09-14 15:04:40 +00:00
|
|
|
- sleep 10
|
2022-09-14 15:03:46 +00:00
|
|
|
- python -V
|
2022-09-14 15:04:40 +00:00
|
|
|
- exit 1
|
2022-09-14 15:03:46 +00:00
|
|
|
test-python2:
|
|
|
|
group: mygroup
|
|
|
|
image: python:${PYTHON_VERSION}
|
|
|
|
commands:
|
|
|
|
- sleep 20
|
|
|
|
- python -V
|
|
|
|
test-python3:
|
2022-09-14 14:52:42 +00:00
|
|
|
image: python:${PYTHON_VERSION}
|
2022-09-14 07:27:17 +00:00
|
|
|
commands:
|
2022-09-14 14:55:13 +00:00
|
|
|
- sleep 20
|
2022-09-14 14:52:42 +00:00
|
|
|
- python -V
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
PYTHON_VERSION:
|
|
|
|
- 3.7
|
2022-09-14 14:56:34 +00:00
|
|
|
- 3.10
|