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

This commit is contained in:
2025-08-21 15:04:44 +02:00
parent 5c243e45e1
commit 945f97ef32

View File

@@ -12,6 +12,12 @@ 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:
@@ -36,12 +42,5 @@ jobs:
/go_path
/go_cache
key: go_path-${{ steps.hash-go.outputs.hash }}
- name: Setup DB
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: test
- name: Run Go Test
run: make test