diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 9fac394..b6637e9 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -34,8 +34,6 @@ jobs: run: ./test-saml - name: Run commands run: ./test-commands - - name: Run tests - run: ./test-tests - name: Display logs run: ./test-logs if: always() @@ -73,8 +71,6 @@ jobs: run: ./test-saml - name: Run commands run: ./test-commands - - name: Run tests - run: ./test-tests - name: Display logs run: ./test-logs if: always() diff --git a/test-tests b/test-tests deleted file mode 100755 index de49fda..0000000 --- a/test-tests +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -set -e -docker compose exec -T --user weblate --env CI_BASE_DIR=/tmp --env CI_DATABASE=postgresql --env CI_DB_HOST=database --env CI_DB_NAME=weblate --env CI_DB_USER=weblate --env CI_DB_PASSWORD=weblate --env DJANGO_SETTINGS_MODULE=weblate.settings_test weblate weblate collectstatic --noinput -docker compose exec -T --user weblate --env CI_BASE_DIR=/tmp --env CI_DATABASE=postgresql --env CI_DB_HOST=database --env CI_DB_NAME=weblate --env CI_DB_USER=weblate --env CI_DB_PASSWORD=weblate --env DJANGO_SETTINGS_MODULE=weblate.settings_test weblate weblate test --noinput weblate -RET=$? -if [ $RET -ne 0 ] ; then - docker compose logs - exit $RET -fi