From 10ed1b5d43216a3329e56ea860ab33fd1c4bb7e6 Mon Sep 17 00:00:00 2001 From: aakrem Date: Thu, 16 May 2024 12:42:51 +0200 Subject: [PATCH] random app name --- .github/workflows/agenta-cli-test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/agenta-cli-test.yml b/.github/workflows/agenta-cli-test.yml index 920d76b874..d2b1a4b320 100644 --- a/.github/workflows/agenta-cli-test.yml +++ b/.github/workflows/agenta-cli-test.yml @@ -23,10 +23,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools - pip install poetry cd agenta-cli - poetry install --no-interaction --no-root pip install -e . + poetry install --no-interaction - name: Create .env file run: | @@ -37,8 +36,9 @@ jobs: env: BACKEND_HOST: ${{ secrets.BACKEND_HOST }} run: | + APP_NAME="gh-cli-$(shuf -i 1000-9999 -n 1)" cd examples/baby_name_generator - agenta init --app_name woooo2 --backend_host ${{ secrets.BACKEND_HOST }} + agenta init --app_name $APP_NAME --backend_host ${{ secrets.BACKEND_HOST }} shell: bash continue-on-error: false @@ -59,5 +59,3 @@ jobs: agenta variant serve --file_name app.py --overwrite shell: bash continue-on-error: false - -