diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a99c6e..e3d43db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,13 +88,15 @@ jobs: name: ssl-certs path: certs/ - - name: Setup Environment + - name: Setup & Test run: | cp ../.env.example ../.env uv sync + export DB_NAME="piku__test" export DB_USER="test" export DB_PASSWORD="password123" + if [ "$GITEA_ACTIONS" = "true" ]; then export DB_HOST="db" export DB_PORT="5432" @@ -103,8 +105,6 @@ jobs: export DB_PORT="5442" fi - - name: Lint & Test - run: | uv run ruff check uv run python manage.py test