Browse Source

chore: upstall script test file path correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/9617/head
Pranav C 2 months ago
parent
commit
5ad20efaaf
  1. 4
      .github/workflows/bats-test.yml

4
.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

Loading…
Cancel
Save