Skip to content

Commit

Permalink
fix test workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Dec 2, 2024
1 parent 4be5917 commit 634e5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/test_subfolders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
cd "$REPO_ROOT"

# Iterate through all subfolders with their own go.mod and run tests
for dir in $(find . -name "go.mod" -not -path "./go.mod" -exec dirname {} \;); do
for dir in $(find . -name "go.mod" -not -path "./go.mod" -not -path "*/testdata/*" -exec dirname {} \;); do
echo "Running tests in $dir..."

# Run tests normally in all other directories
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_subfolders_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
cd "$REPO_ROOT"

# Iterate through all subfolders with their own go.mod and run tests
for dir in $(find . -name "go.mod" -not -path "./go.mod" -exec dirname {} \;); do
for dir in $(find . -name "go.mod" -not -path "./go.mod" -not -path "*/testdata/*" -exec dirname {} \;); do
echo "Running tests in $dir..."

# Run tests normally in all other directories
Expand Down

0 comments on commit 634e5c5

Please sign in to comment.