Update testing.yaml
Some checks failed
GoLang Tests / check and test (push) Failing after 37s

This commit is contained in:
2025-08-21 15:22:49 +02:00
parent 4974aa9815
commit 6c544174d0

View File

@@ -12,12 +12,6 @@ jobs:
POSTGRES_DB: arbeitszeitmessung POSTGRES_DB: arbeitszeitmessung
POSTGRES_PORT: 5432 POSTGRES_PORT: 5432
steps: 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 - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@@ -42,5 +36,10 @@ jobs:
/go_path /go_path
/go_cache /go_cache
key: go_path-${{ steps.hash-go.outputs.hash }} key: go_path-${{ steps.hash-go.outputs.hash }}
- name: Run Go Test - uses: harmon758/postgresql-action@v1
run: cd Backend && go test ./... with:
postgresql version: "16"
postgresql user: ${{ env.POSTGRES_USER }}
postgresql password: ${{ env.POSTGRES_PASSWORD }}
postgresql db: ${{ env.POSTGRES_DB }}
- run: cd Backend && go test ./...