From 891c7445953f7a50fdbcd6c9d2e5782c008eccf5 Mon Sep 17 00:00:00 2001 From: Alexander Baranov Date: Thu, 13 Jun 2024 19:18:53 +0400 Subject: [PATCH] pass openai secret --- .github/workflows/integration-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 19f158e40..f7acde983 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -1,9 +1,7 @@ name: Integration tests on: - push: - branches: - - master + - push jobs: integration_tests: @@ -16,4 +14,6 @@ jobs: with: go-version: '1.21' - name: Run integration tests + env: + OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} run: go test -v -tags=integration ./api_integration_test.go