Skip to content
Snippets Groups Projects
Commit fa80d349 authored by Nadja Geisler's avatar Nadja Geisler :sunny:
Browse files

remove duplicate commands

parent a90dba04
No related branches found
No related tags found
1 merge request!260[WIP] import/export merge
Pipeline #275629 passed
......@@ -29,18 +29,15 @@ cache:
migrations:
extends: .before_script_template
script:
- source venv/bin/activate
- ./manage.py makemigrations --dry-run --check
test:
extends: .before_script_template
script:
- source venv/bin/activate
- echo "GRANT ALL on *.* to '${MYSQL_USER}';"| mysql -u root --password="${MYSQL_ROOT_PASSWORD}" -h mysql
- pip install pytest-cov unittest-xml-reporting
- coverage run --source='.' manage.py test --settings AKPlanning.settings_ci
after_script:
- source venv/bin/activate
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
......@@ -55,7 +52,6 @@ lint:
extends: .before_script_template
stage: test
script:
- source venv/bin/activate
- pylint --load-plugins pylint_django --django-settings-module=AKPlanning.settings_ci --rcfile pylintrc --exit-zero --output-format=text AK* | tee /tmp/pylint.txt
- sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' /tmp/pylint.txt > public/badges/$CI_JOB_NAME.score
- pylint --load-plugins pylint_django --django-settings-module=AKPlanning.settings_ci --rcfile pylintrc --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter AK* > codeclimate.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment