restore test task

This commit is contained in:
Abraham Toriz 2021-12-03 08:43:04 -06:00
parent 6e82922efa
commit 0c5025adc1
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 10 additions and 3 deletions

View File

@ -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
script:
- pip install -U sphinx
@ -9,7 +16,7 @@ test:
- sphinx-build -b html ./docs/en/source/ public/en
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
script: