diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54249f896b003bf26d547667e6d1e658cd940e24..0054a0c9723bc78719aa1ab8c5a004084de5a552 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,19 +5,24 @@ before_script: - pip install isort pylint pytest pyqt6 db-sqlite3 requests stages: - - linting - - test + - Static Analysis + - Test + - Deploy pylint: - stage: linting + stage: Static Analysis script: - - python -m pylint src + - pylint --ignore=test -d C0301 -d R0801 -d C0209 -d R0902 -d W0108 -d C0303 -d R1705 ./src pytest: - stage: test - tags: - - rpl + stage: Test + script: + - python -m pytest + +MSDeploy: + stage: Deploy script: - - pytest - only: - - merge_request + - echo "test ms depoly" + - pyinstaller --add-data "img/*;img/" "src/controller.py" + tags: + - rpl \ No newline at end of file diff --git a/pylintrc b/pylintrc new file mode 100644 index 0000000000000000000000000000000000000000..3bcac3177deb53a3f521639002d900f1b8ec0acf Binary files /dev/null and b/pylintrc differ