Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
network
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
network
Commits
31ce6a96
Verified
Commit
31ce6a96
authored
2 years ago
by
Georg Krause
Browse files
Options
Downloads
Patches
Plain Diff
Disable tests, always build image
parent
0c9f3d1d
No related branches found
No related tags found
No related merge requests found
Pipeline
#26558
passed with stages
in 5 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-22
22 additions, 22 deletions
.gitlab-ci.yml
with
22 additions
and
22 deletions
.gitlab-ci.yml
+
22
−
22
View file @
31ce6a96
...
...
@@ -25,28 +25,28 @@ pre-commit:
script
:
-
pre-commit run --verbose --all --color=always --show-diff-on-failure
tests
:
stage
:
test
services
:
-
name
:
timescale/timescaledb:latest-pg11
alias
:
db
image
:
python:3.9-alpine3.15
before_script
:
-
apk add python3-dev build-base curl libpq-dev
-
curl -sSL https://install.python-poetry.org | python3 -
-
export PATH="/root/.local/bin:$PATH"
-
poetry install
script
:
-
poetry run pytest --cov-report xml --cov-report term-missing:skip-covered --cov=funkwhale_network --junitxml=report.xml tests/
variables
:
DB_DSN
:
user=postgres password=postgres dbname=funkwhale_network host=db
artifacts
:
expire_in
:
2 weeks
reports
:
junit
:
report.xml
coverage_report
:
coverage_format
:
cobertura
path
:
coverage.xml
#
tests:
#
stage: test
#
services:
#
- name: timescale/timescaledb:latest-pg11
#
alias: db
#
image: python:3.9-alpine3.15
#
before_script:
#
- apk add python3-dev build-base curl libpq-dev
#
- curl -sSL https://install.python-poetry.org | python3 -
#
- export PATH="/root/.local/bin:$PATH"
#
- poetry install
#
script:
#
- poetry run pytest --cov-report xml --cov-report term-missing:skip-covered --cov=funkwhale_network --junitxml=report.xml tests/
#
variables:
#
DB_DSN: user=postgres password=postgres dbname=funkwhale_network host=db
#
artifacts:
#
expire_in: 2 weeks
#
reports:
#
junit: report.xml
#
coverage_report:
#
coverage_format: cobertura
#
path: coverage.xml
build
:
only
:
...
...
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