summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 19719230..ffd2947f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,19 +14,22 @@ unified_test:
before_script:
- cargo install diesel_cli --version 1.3.1
- apt update -qy
- - apt install -y python3-dev python3-pip python3-wheel libsnappy-dev
+ - apt install -y python3-dev python3-pip python3-wheel libsnappy-dev libsodium-dev
- pip3 install pipenv
- pipenv --version
script:
- rustc --version && cargo --version && diesel --version
- cd rust
+ - cp env.example .env
- diesel database reset && diesel migration run
- cargo build
- cargo test -- --test-threads 1
- cargo run --bin fatcatd &
- cd ../python
+ - cp env.example .env
- pipenv install --dev --deploy
- pipenv run pytest --cov
+ - pipenv run ./tests/cli.sh
# Just errors
- pipenv run pylint -E fatcat*.py fatcat_tools fatcat_web