From 8fc7a3874ade03f27ad349dbd9046593b14ca0d1 Mon Sep 17 00:00:00 2001 From: aakrem Date: Tue, 21 May 2024 11:21:00 +0200 Subject: [PATCH] increase retries num --- .github/actions/check-app-accessibility/action.yml | 2 +- .github/workflows/cli-commands-tests.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/check-app-accessibility/action.yml b/.github/actions/check-app-accessibility/action.yml index ed50d56450..76d1ce90f8 100644 --- a/.github/actions/check-app-accessibility/action.yml +++ b/.github/actions/check-app-accessibility/action.yml @@ -23,7 +23,7 @@ runs: APP_URL="${APP_URL%/}/openapi.json" echo "Checking if $APP_URL is accessible" - retries=5 + retries=6 for i in $(seq 1 $retries); do status_code=$(curl --max-time 60 --write-out %{http_code} --silent --output /dev/null --verbose $APP_URL) echo "Attempt $i: Status code: $status_code" diff --git a/.github/workflows/cli-commands-tests.yml b/.github/workflows/cli-commands-tests.yml index f79685dccd..5c43ef79ff 100644 --- a/.github/workflows/cli-commands-tests.yml +++ b/.github/workflows/cli-commands-tests.yml @@ -2,9 +2,9 @@ name: cli commands tests on: pull_request: - # paths: - # - "agenta-backend/**" - # - "agenta-cli/**" + paths: + - "agenta-backend/**" + - "agenta-cli/**" jobs: serve-to-oss: