Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff committed Feb 12, 2024
1 parent f019dc6 commit 9f77dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
- name: Build with Maven
env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true -Dmaven.wagon.http.retryHandler.count=2 -Dmaven.wagon.http.pool=true
run: mvn --show-version --batch-mode -PskipBrokenTests test license:check
run: mvn --show-version --batch-mode -PskipBrokenTests

- name: Find and test web components
run: |
for dir in webcomponents/tool/src/main/frontend/packages/*; do
if [[ -f "$dir/package.json" ]]; then
if grep -q '"test":' "$dir/package.json"; then
echo "Testing $dir"
(cd "$dir" && npm install && npm run test)
(cd "$dir" && npm run test -s)
else
echo "No test script found in $dir/package.json"
fi
Expand Down

0 comments on commit 9f77dee

Please sign in to comment.