diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..889a9ec518214095d784338e376be0a6e6ff81fc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: python:3.10 + +before_script: + - python --version # For debugging + - pip install isort pylint pytest pyqt6 db-sqlite3 requests + +stages: + - linting + - test + +isort: + stage: linting + script: + - python -m isort . --check-only + +pylint: + stage: linting + script: + - python -m pylint src + +pytest: + stage: test + script: + - pytest + only: + - merge_request