aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 11:30:06 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 11:30:06 -0800
commit17db6a45192f817c45cddf9340c681e4a74176f3 (patch)
tree0483ef7c07072ec936bd349a966f52c0d20fa526
parentc5035bafd3c1700621d0aee12a2aa5b2fcc145c3 (diff)
downloadfatcat-17db6a45192f817c45cddf9340c681e4a74176f3.tar.gz
fatcat-17db6a45192f817c45cddf9340c681e4a74176f3.zip
run python_client tests in CI
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 12e63255..d404b332 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ 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 libsodium-dev
+ - apt install -y python3-dev python3-pip python3-wheel python3-requests python3-six python3-pytest libsnappy-dev libsodium-dev
- pip3 install pipenv
- pipenv --version
script:
@@ -25,6 +25,8 @@ unified_test:
- cargo build
- cargo test -- --test-threads 1
- cargo run --bin fatcatd &
+ - cd ../python_client
+ - pytest-3
- cd ../python
- cp env.example .env
- pipenv install --dev --deploy