Commit 7728cb49 authored by gonczor's avatar gonczor

Support different python versions

parent 6220ea35
Pipeline #215154243 failed
......@@ -8,20 +8,51 @@ stages:
default:
image: "python:3.8"
pytest:
.pytest:
stage: test
script:
- pytest my_math/*
<<: *before_script
black:
.black:
stage: test
script:
- black --config pyproject.toml --check my_math/
<<: *before_script
mypy:
.mypy:
stage: test
script:
- mypy my_math/
<<: *before_script
pytest-3.7:
extends: "pytest"
image: "python:3.7"
black-3.7:
extends: "black"
image: "python:3.7"
mypy-3.7:
extends: "mypy"
image: "python:3.7"
pytest-3.8:
extends: "pytest"
image: "python:3.8"
black-3.8:
extends: "black"
image: "python:3.8"
mypy-3.8:
extends: "mypy"
image: "python:3.8"
pytest-3.9:
extends: "pytest"
image: "python:3.9"
black-3.9:
extends: "black"
image: "python:3.9"
mypy-3.9:
extends: "mypy"
image: "python:3.9"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment