From 5ad20efaaf16330f2dfe448dff7040543539acff Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 9 Oct 2024 13:09:46 +0530 Subject: [PATCH 1/2] chore: upstall script test file path correction Signed-off-by: Pranav C --- .github/workflows/bats-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bats-test.yml b/.github/workflows/bats-test.yml index 1c965c22a6..ca97684b96 100644 --- a/.github/workflows/bats-test.yml +++ b/.github/workflows/bats-test.yml @@ -18,7 +18,7 @@ jobs: - name: Prepare matrix for test files id: set-matrix run: | - BATS_FILES=$(find docker-compose/setup-script/tests -name '*.bats') + BATS_FILES=$(find docker-compose/1_Auto_Upstall/tests -name '*.bats') MATRIX_JSON=$(echo $BATS_FILES | tr -d '\n' | jq -Rsc 'split(" ")' | tr '"' "'") echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT test: @@ -39,7 +39,7 @@ jobs: - name: Get working directory run: | - WORKING_DIR="$(pwd)/docker-compose/setup-script/tests" + WORKING_DIR="$(pwd)/docker-compose/1_Auto_Upstall/tests" echo "WORKING_DIR=$WORKING_DIR" >> $GITHUB_ENV - name: Run BATS test From acf0c6035d38d0b3f27d5575ebb6d4ddfebaa871 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 9 Oct 2024 13:13:14 +0530 Subject: [PATCH 2/2] chore: trigger when action file changes Signed-off-by: Pranav C --- .github/workflows/bats-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bats-test.yml b/.github/workflows/bats-test.yml index ca97684b96..b0db34f0f7 100644 --- a/.github/workflows/bats-test.yml +++ b/.github/workflows/bats-test.yml @@ -4,6 +4,7 @@ on: push: paths: - 'docker-compose/1_Auto_Upstall/noco.sh' + - '.github/workflows/bats-test.yml' workflow_dispatch: jobs: