Skip to content
Snippets Groups Projects
Commit 75bda450 authored by Felix Blanke's avatar Felix Blanke
Browse files

Move test dependencies to requirements.txt

parent 730d3612
No related branches found
No related tags found
1 merge request!268Merge fork for interoperability of KoMa solver
......@@ -37,7 +37,7 @@ test:
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 beautifulsoup4
- pip install pytest-cov
- coverage run --source='.' manage.py test --settings AKPlanning.settings_ci
after_script:
- source venv/bin/activate
......@@ -55,8 +55,6 @@ lint:
extends: .before_script_template
stage: test
script:
- source venv/bin/activate
- pip install beautifulsoup4
- 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
......
......@@ -26,3 +26,7 @@ sphinxcontrib-apidoc==0.5.0
sphinxcontrib-django==2.5.0
recommonmark==0.7.1
django-docs==0.3.3
# Testing
unittest-xml-reporting==3.2.0
beautifulsoup4==4.13.3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment