From 6c544174d0fcbc4bd7c7accdd526344fe2b55532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Thu, 21 Aug 2025 15:22:49 +0200 Subject: [PATCH] Update testing.yaml --- .gitea/workflows/testing.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/testing.yaml b/.gitea/workflows/testing.yaml index 86cdd5d..94b24e1 100644 --- a/.gitea/workflows/testing.yaml +++ b/.gitea/workflows/testing.yaml @@ -12,12 +12,6 @@ jobs: POSTGRES_DB: arbeitszeitmessung POSTGRES_PORT: 5432 steps: - - uses: harmon758/postgresql-action@v1 - with: - postgresql version: "16" - postgresql user: ${{ env.POSTGRES_USER }} - postgresql password: ${{ env.POSTGRES_PASSWORD }} - postgresql db: ${{ env.POSTGRES_DB }} - name: Checkout uses: actions/checkout@v4 with: @@ -42,5 +36,10 @@ jobs: /go_path /go_cache key: go_path-${{ steps.hash-go.outputs.hash }} - - name: Run Go Test - run: cd Backend && go test ./... + - uses: harmon758/postgresql-action@v1 + with: + postgresql version: "16" + postgresql user: ${{ env.POSTGRES_USER }} + postgresql password: ${{ env.POSTGRES_PASSWORD }} + postgresql db: ${{ env.POSTGRES_DB }} + - run: cd Backend && go test ./...