diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c85c15c9921df407b584e9bed540cbc12413d7b2 --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,52 @@ +image: python:latest + +stages: + - test-style + - test + +before_script: + - cat /etc/issue + - python -V + - which python + - python -m venv ../venv + - source ../venv/bin/activate + - which python + - pwd + - pip install -U pip + - pip --version + - pip install pytest + - pytest --version + + +style: + stage: test-style + image: python:latest + script: + - black --version + - ruff --version + - ruff . + - black --check --diff . + + +test3-09: + stage: test + image: python:3.9 + script: + - echo "run tests here later" + - python --version + +test3-10: + stage: test + image: python:3.10 + script: + - echo "run tests here later" + - python --version + + +test3-11: + stage: test + image: python:3.11 + script: + - echo "run tests here later" + - python --version +