test handlers

This commit is contained in:
Elio Bischof
2023-07-05 17:27:03 +02:00
parent ab61fb8c2b
commit c265be8d16
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ jobs:
go run main.go init --config internal/integration/config/zitadel.yaml --config internal/integration/config/${INTEGRATION_DB_FLAVOR}.yaml go run main.go init --config internal/integration/config/zitadel.yaml --config internal/integration/config/${INTEGRATION_DB_FLAVOR}.yaml
go run main.go setup --masterkeyFromEnv --config internal/integration/config/zitadel.yaml --config internal/integration/config/${INTEGRATION_DB_FLAVOR}.yaml go run main.go setup --masterkeyFromEnv --config internal/integration/config/zitadel.yaml --config internal/integration/config/${INTEGRATION_DB_FLAVOR}.yaml
- name: Run integration tests - name: Run integration tests
run: go test -tags=integration -race -p 1 -v -coverprofile=profile.cov -coverpkg=./internal/...,./cmd/... ./internal/integration ./internal/api/grpc/... run: go test -tags=integration -race -p 1 -v -coverprofile=profile.cov -coverpkg=./internal/...,./cmd/... ./internal/integration ./internal/api/grpc/... ./internal/notification/handlers/...
- name: Publish go coverage - name: Publish go coverage
uses: codecov/codecov-action@v3.1.0 uses: codecov/codecov-action@v3.1.0
with: with:

View File

@@ -97,7 +97,7 @@ RUN rm -r cockroach-${COCKROACH_VERSION}.linux-amd64
# Migrations for cockroach-secure # Migrations for cockroach-secure
RUN go install github.com/rakyll/statik \ RUN go install github.com/rakyll/statik \
&& go test -race -v -coverprofile=profile.cov $(go list ./... | grep -v /operator/) && go test -race -coverprofile=profile.cov $(go list ./... | grep -v /operator/)
####################### #######################
## Go test results ## Go test results

View File

@@ -42,7 +42,7 @@ Projections:
NotificationsQuotas: NotificationsQuotas:
RequeueEvery: 1s RequeueEvery: 1s
Telemetry: Telemetry:
RequeueEvery: 1s RequeueEvery: 5s
DefaultInstance: DefaultInstance:
LoginPolicy: LoginPolicy: