Skip to content

Commit

Permalink
fix: DBTP-1456 Stop the terraform tests GitHub Action excluding modul…
Browse files Browse the repository at this point in the history
…es with submodules (#262)
  • Loading branch information
WillGibson authored and tony-griffin committed Nov 5, 2024
1 parent 310a822 commit 19ddfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Lose leading ./ and select the part before the tests directory
module=$(echo "${file#./}" | awk -F "/tests/" '{print $1}')
# In case we separate the test files, only include each module once
if [[ "${modules}" != *"${module}"* ]]; then
if [[ "\"${modules}\"" != *"\"${module}\""* ]]; then
echo "Found module ${module}"
modules+="\"${module}\","
fi
Expand Down

0 comments on commit 19ddfa6

Please sign in to comment.