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:
|
||||
stage: test
|
||||
script:
|
||||
- pip install mypy --quiet
|
||||
- pip install . --quiet
|
||||
- pip install mypy --quiet
|
||||
- mypy syng --strict
|
||||
|
||||
ruff:
|
||||
stage: test
|
||||
script:
|
||||
- pip install ruff --quiet
|
||||
- pip install . --quiet
|
||||
- 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
|
||||
- pip install ruff --quiet
|
||||
- ruff syng
|
Loading…
Add table
Reference in a new issue