diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d66e7ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +docs/build +__pycache__ +.venv +.idea diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5231222..05c62fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,39 @@ -code_qualityt: - image: python:3 +image: python:3-alpine + +mypy: + stage: test script: - pip install mypy --quiet + - pip install . --quiet + - mypy syng --strict + +pylint: + stage: test + script: - pip install pylint --quiet - - pip install -e . --quiet - - mypy -p syng --strict + - pip install . --quiet - pylint syng + +test: + stage: test + script: + - pip install -U sphinx + - pip install . --quiet + - sphinx-build -b html docs/source docs/build + only: + - branches + except: + - main + + +pages: + stage: deploy + script: + - pip install -U sphinx + - pip install . --quiet + - sphinx-build -b html docs/source docs/build + artifacts: + paths: + - docs/build + only: + - main diff --git a/syng/__init__.py b/syng/__init__.py new file mode 100644 index 0000000..e69de29