2022-12-04 16:27:25 +01:00
|
|
|
image: python:3-alpine
|
|
|
|
|
|
|
|
mypy:
|
|
|
|
stage: test
|
2022-12-04 15:56:19 +01:00
|
|
|
script:
|
|
|
|
- pip install mypy --quiet
|
2022-12-04 16:27:25 +01:00
|
|
|
- pip install . --quiet
|
|
|
|
- mypy syng --strict
|
|
|
|
|
2023-11-01 18:09:24 +01:00
|
|
|
ruff:
|
2022-12-04 16:27:25 +01:00
|
|
|
stage: test
|
|
|
|
script:
|
2023-11-01 18:09:24 +01:00
|
|
|
- pip install ruff --quiet
|
2022-12-04 16:27:25 +01:00
|
|
|
- pip install . --quiet
|
2023-11-01 18:09:24 +01:00
|
|
|
- ruff syng
|
2022-12-04 16:27:25 +01:00
|
|
|
|
|
|
|
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
|