Removed doc building from ci (this never worked), updated mypy and ruff check

This commit is contained in:
Christoph Stahl 2023-11-01 17:13:14 +00:00
parent 17cf052c19
commit 5a754ba6a9

View file

@ -4,36 +4,10 @@ mypy:
stage: test stage: test
script: script:
- pip install mypy --quiet - pip install mypy --quiet
- pip install . --quiet
- mypy syng --strict - mypy syng --strict
ruff: ruff:
stage: test stage: test
script: script:
- pip install ruff --quiet - pip install ruff --quiet
- pip install . --quiet
- ruff syng - ruff 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