Skip to content
Snippets Groups Projects
Verified Commit 31ce6a96 authored by Georg Krause's avatar Georg Krause
Browse files

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
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment