Skip to content

Commit

Permalink
use poetry run
Browse files Browse the repository at this point in the history
  • Loading branch information
aakrem committed May 15, 2024
1 parent f42eed7 commit 1908bbf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/agenta-cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ jobs:
BACKEND_HOST: ${{ secrets.BACKEND_HOST }}
run: |
cd agenta-cli
source $(poetry env info --path)/bin/activate
cd ../examples/baby_name_generator
agenta init --app_name woooo --backend_host ${{ secrets.BACKEND_HOST }}
agenta variant serve --file_name app.py
agenta variant serve --file_name app.py --overwrite
poetry run agenta init --app_name woooo --backend_host ${{ secrets.BACKEND_HOST }}
poetry run agenta variant serve --file_name ../examples/baby_name_generator/app.py
poetry run agenta variant serve --file_name ../examples/baby_name_generator/app.py --overwrite
# - name: Create .env file
# run: |
Expand Down

0 comments on commit 1908bbf

Please sign in to comment.