diff --git a/.github/workflows/logzio-logs-collector-test.yaml b/.github/workflows/logzio-logs-collector-test.yaml index bfab472e..2fb7d8ed 100644 --- a/.github/workflows/logzio-logs-collector-test.yaml +++ b/.github/workflows/logzio-logs-collector-test.yaml @@ -61,6 +61,8 @@ jobs: run: sleep 120 - name: Run Go Tests + env: + LOGZIO_LOGS_API_TOKEN: ${{ env.LOGZIO_LOGS_API_TOKEN }} run: | go get go.uber.org/zap go test -v ./tests/logs_e2e_test.go ./tests/common.go diff --git a/.github/workflows/logzio-telemetry-test.yaml b/.github/workflows/logzio-telemetry-test.yaml index 8a04ad5c..31e18fcf 100644 --- a/.github/workflows/logzio-telemetry-test.yaml +++ b/.github/workflows/logzio-telemetry-test.yaml @@ -73,6 +73,9 @@ jobs: run: sleep 120 - name: Run Go Tests + env: + LOGZIO_METRICS_API_KEY: ${{ env.LOGZIO_METRICS_API_KEY }} + LOGZIO_TRACES_API_KEY: ${{ env.LOGZIO_TRACES_API_KEY }} run: | go get go.uber.org/zap go test -v ./tests/traces_e2e_test.go ./tests/common.go