From 3e643afaf3f4ab3232188764db57a66341b383c9 Mon Sep 17 00:00:00 2001 From: Stephen Lincoln Date: Thu, 10 Oct 2024 16:43:15 -0400 Subject: [PATCH] Added openai api key --- .github/workflows/release.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c68a5b6..390fa87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,8 @@ jobs: - name: Install dependencies run: poetry install --with dev,llm - name: Run tests + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: poetry run pytest - name: Build packages run: poetry build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3867cb8..ace48f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,8 @@ jobs: - name: Install dependencies run: poetry install --with dev,llm - name: Run tests + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: poetry run pytest --cov=sigmaiq --cov-report term --cov-report xml:cov.xml -vv - name: Store coverage for badge if: ${{ runner.os == 'Linux' }}