Newer
Older
- /var/lib/gitlab-runner/.cache/pypoetry
- /var/lib/gitlab-runner/.cache/pip
- lint
- tests
- docs
.install-deps-template: &install-deps
- export PATH="/var/lib/gitlab-runner/.local/bin:$PATH"
- poetry install -vv
.quality-template: &quality
<<: *install-deps
- "bash ./.ci/run-tests-for-ci.sh"
stage: tests
variables:
CODECOV_TOKEN: "895e3bf2-cfd0-45f8-9a14-4b7bd148f76d"
flake8:
<<: *quality
script: poetry run flake8 relate course accounts tests
mypy:
<<: *quality
script: poetry run mypy relate course
Python 3:
<<: *test
Python 3 Expensive:
<<: *test
variables:
RL_CI_TEST: expensive
- git clone https://github.com/inducer/relate-sample
- cd relate-sample
- poetry run relate validate .
- poetry run relate test-code questions/autograded-python-example.yml
- poetry run relate expand-yaml flows/quiz-test.yml > /dev/null
variables:
RELATE_LOCAL_TEST_SETTINGS: './local_settings_example.py'
- poetry run bash ./doc/build-docs.sh