Skip to content

Commit

Permalink
Acceptance test: update repo 4
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkad committed Dec 9, 2024
1 parent ebb8c21 commit eeaa2c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/power-acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '1.22'

# Step 3: Cache Go modules
- name: Cache Go modules
uses: actions/cache@v3
Expand Down Expand Up @@ -63,6 +63,7 @@ jobs:
fi
if [["$file" == *_test.go ]]; then
echo "Adding $file to the map"
modified_test_files_map["$file"]=1
else
Expand All @@ -76,6 +77,11 @@ jobs:
fi
done
echo "Keys and Values of modified_test_files_map:"
for key in "${!modified_test_files_map[@]}"; do
echo "$key => ${modified_test_files_map[$key]}"
done
# If there are modified test files, run the tests
if [ ${#modified_test_files_map[@]} -gt 0 ]; then
modified_test_files=$(echo "${!modified_test_files_map[@]}")
Expand Down

0 comments on commit eeaa2c9

Please sign in to comment.