diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 214e321..1c97114 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -2,13 +2,6 @@ name: Unit tests run-name: ${{ gitea.actor }} is testing on: push -env: - registry: my_registry_name - # Not sure these are actually being passed down to rails, set them as the default in database.yml - DB_HOST: localhost - DB_USERNAME: postgres - DB_PASSWORD: postgres - jobs: test: runs-on: ubuntu-latest @@ -42,4 +35,7 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - name: Run integration tests + env: + POSTGRES_HOST: postgres + POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} run: dotnet test DD.Persistence.IntegrationTests \ No newline at end of file