Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
AKPlanning
Commits
fa80d349
Commit
fa80d349
authored
4 months ago
by
Nadja Geisler
Browse files
Options
Downloads
Patches
Plain Diff
remove duplicate commands
parent
a90dba04
No related branches found
No related tags found
1 merge request
!260
[WIP] import/export merge
Pipeline
#275629
passed
4 months ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-4
0 additions, 4 deletions
.gitlab-ci.yml
with
0 additions
and
4 deletions
.gitlab-ci.yml
+
0
−
4
View file @
fa80d349
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment