syng/.gitlab-ci.yml

40 lines
728 B
YAML
Raw Normal View History

image: python:3-alpine
mypy:
stage: test
2022-12-04 15:56:19 +01:00
script:
- pip install mypy --quiet
- pip install . --quiet
- mypy syng --strict
pylint:
stage: test
script:
2022-12-04 16:13:00 +01:00
- pip install pylint --quiet
- pip install . --quiet
2022-12-04 16:13:00 +01:00
- 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