Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati committed Nov 16, 2024
1 parent b5ba427 commit 0441a99
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/validation-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,11 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Compute matrix
id: set-matrix
id: compute-matrix
run: |
test_modules=$(find integration-tests -maxdepth 1 -mindepth 1 -type d -name "*-tests")
echo "======= STEP 1 ::: ${test_modules}"
test_modules=$(while IFS= read -r mod; do grep -q "%test-security." $mod/src/main/resources/application.properties; echo "{\"path\": \"$mod\", \"security\": $? }"; done <<< "${test_modules}" | jq -s -c '.')
echo "======= STEP 2 ::: ${test_modules}"
echo "modules=${test_modules}" >> "$GITHUB_OUTPUT"
echo "======= STEP 3 ::: modules=${test_modules}"
build-and-test-native:
name: Native tests
needs: [compute-matrix]
Expand Down

0 comments on commit 0441a99

Please sign in to comment.