Skip to content
Snippets Groups Projects
Commit eead0ee6 authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Update .gitlab-ci.yml

Configured tes_coverage and test_pylint to change to backend dir
parent 685817b5
Branches
No related tags found
1 merge request!15Refactor
Pipeline #
stages: stages:
- build - build
- test - test
...@@ -25,13 +24,15 @@ test_coverage: ...@@ -25,13 +24,15 @@ test_coverage:
services: services:
- postgres:9.5 - postgres:9.5
script: script:
- coverage run backend/manage.py test --noinput - cd backend/
- coverage run manage.py test --noinput
- coverage report --skip-covered - coverage report --skip-covered
test_pylint: test_pylint:
<<: *test_definition <<: *test_definition
script: script:
- pylint backend/core || exit 0 - cd backend/
- pylint core || exit 0
.staging_template: &staging_definition .staging_template: &staging_definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment