diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..99c03e1bba7b4d16c4ba5579549413e668be1908 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 black ruff + - pytest --version + + +style: + stage: test-style + image: python:latest + script: + - black --version + - ruff --version + - ruff . || true + - black --check --diff . || true + + +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 +