Removed doc building from ci (this never worked), updated mypy and ruff check
This commit is contained in:
parent
17cf052c19
commit
5a754ba6a9
1 changed files with 3 additions and 29 deletions
|
@ -3,37 +3,11 @@ image: python:3-alpine
|
||||||
mypy:
|
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
|
|
Loading…
Add table
Reference in a new issue