diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96000c707267b6ce62e3502290a50dcb7a9be457..108bfc689aebd2e17c9f8dc9419da57f9316f65e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: