diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01004fdddf8858c0ab69299de28e5dce3571d1c1..bc3e11863879f96286869bba8d00768530ca6b0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ stages: - - server-install - server-test - client-install - client-test diff --git a/.gitlab/server.gitlab-ci.yml b/.gitlab/server.gitlab-ci.yml index e4f75df4348505f06e21124ee8cb3c7865df8a50..33d3934c3ce1fa51ff12cccbb0384d70e28f91f8 100644 --- a/.gitlab/server.gitlab-ci.yml +++ b/.gitlab/server.gitlab-ci.yml @@ -1,19 +1,16 @@ -image: python -cache: - paths: - - server/env/ - -before_script: - stage: server-install - - python --version - - pip install virtualenv - - cd server/ - - python -m venv env - - source env/bin/activate - - pip install -r requirements.txt test-server: + image: python + cache: + paths: + - server/env/ stage: server-test script: + - python --version + - pip install virtualenv + - cd server/ + - python -m venv env + - source env/bin/activate + - pip install -r requirements.txt - pytest --cov app tests/