restore test task
This commit is contained in:
parent
6e82922efa
commit
0c5025adc1
|
@ -1,6 +1,13 @@
|
||||||
image: python:3.7-alpine
|
test:cargo:
|
||||||
|
image: rust:latest
|
||||||
|
script:
|
||||||
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy -- -D warnings
|
||||||
|
- cargo test
|
||||||
|
|
||||||
test:
|
build:docs:
|
||||||
|
image: python:3.7-alpine
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- pip install -U sphinx
|
- pip install -U sphinx
|
||||||
|
@ -9,7 +16,7 @@ test:
|
||||||
- sphinx-build -b html ./docs/en/source/ public/en
|
- sphinx-build -b html ./docs/en/source/ public/en
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue