mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
fixing github action
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -5,6 +5,9 @@ on: push
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
OPENAI_API_KEY: fake-api-key
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -25,10 +28,5 @@ jobs:
|
||||
poetry lock &&
|
||||
poetry install
|
||||
|
||||
- name: Set ENV vars
|
||||
run: |
|
||||
echo 'export OPENAI_API_KEY=fake-api-key' >> "$BASH_ENV" &&
|
||||
source "$BASH_ENV"
|
||||
|
||||
- name: Run tests
|
||||
run: poetry run pytest
|
||||
Reference in New Issue
Block a user