Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-autocomplete-multi-models
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
django-autocomplete-multi-models
Commits
0a383889
Commit
0a383889
authored
3 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
add postgres service
parent
e8c54cfe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-2
11 additions, 2 deletions
.gitlab-ci.yml
with
11 additions
and
2 deletions
.gitlab-ci.yml
+
11
−
2
View file @
0a383889
image
:
docker:latest
variables
:
POSTGRES_HOST
:
"
db-local"
POSTGRES_DBNAME
:
"
postgres"
POSTGRES_USER
:
"
postgres"
POSTGRES_PASSWORD
:
"
test"
stages
:
-
test
test-style
:
stage
:
test
needs
:
[]
image
:
python:3.9
script
:
-
pip install -q -r requirements-test.txt
-
black ./autocomplete_multi_models/ --check --diff --config ./pyproject.toml
...
...
@@ -13,6 +19,9 @@ test-style:
test
:
stage
:
test
image
:
python:3.9
services
:
-
name
:
postgres:14
alias
:
"
db-local"
script
:
-
pip
3
install -r requirements.txt -r requirements-test.txt
-
pip install -r requirements.txt -r requirements-test.txt
-
coverage report --skip-covered --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py,setup.py
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