From 6bb1489a36963ce115ebbccf7dcc7cd585dd1907 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 18 Nov 2023 20:42:47 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20dep=20on=20tests=20in=20ci,=20and?= =?UTF-8?q?=20env=20vars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index c0d89e2df..c9a86ca4b 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -73,6 +73,9 @@ jobs: arch: arm64 npm_config_arch: arm64 runs-on: ${{ matrix.os }} + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} steps: # 1. Build the Pyinstaller binary - name: Check-out repository @@ -256,7 +259,7 @@ jobs: publish: runs-on: ubuntu-latest - needs: build + needs: build, pytest permissions: contents: write steps: