From 31ce6a9676cb95a99254e363156e21f0253cba28 Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Fri, 2 Dec 2022 12:17:29 +0100
Subject: [PATCH] Disable tests, always build image

---
 .gitlab-ci.yml | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96000c7..108bfc6 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:
-- 
GitLab