Skip to content

Commit

Permalink
Add api environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe committed Jun 10, 2024
1 parent c533c54 commit 899055f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/logzio-logs-collector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/logzio-telemetry-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 899055f

Please sign in to comment.