Skip to content

Commit

Permalink
Merge branch 'refactor/simplify-project-structure' into test/validati…
Browse files Browse the repository at this point in the history
…on-workflow
  • Loading branch information
mcollovati authored Dec 26, 2023
2 parents 42ce318 + 55e6c19 commit 5266fd5
Showing 1 changed file with 37 additions and 5 deletions.
42 changes: 37 additions & 5 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,31 @@ jobs:
run: |
set -x -e -o pipefail
cd vertx-vaadin-tests
mvn -V -e -B -ntp verify -Dmaven.javadoc.skip=false -pl=-test-frontend -DtrimStackTrace=false \
mvn -V -e -B -ntp verify -Dmaven.javadoc.skip=false -pl=-:vite-basics,-:vite-production -DtrimStackTrace=false \
-Dwebdriver.chrome.driver=$(which chromedriver) \
-Duitest.chrome-version=$CHROME_VERSION \
-Dtest.vertx.jvmArgs="-Dorg.slf4j.simpleLogger.logFile=target/verticle.log -Dvaadin.require.home.node=true -Xmx2048M -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory"
- name: Dump threads
if: ${{ cancelled() }}
run: |
for pid in $(jps | cut -d ' ' -f 1); do
echo
echo
echo "========================= BEGIN THREAD DUMP $pid"
jps -mlvV | grep "$pid "
echo
jstack $pid
echo "========================= END THREAD DUMP $pid"
echo
echo
done
- name: Package test output files
if: ${{ failure() || success() }}
#if: ${{ failure() || success() }}
if: ${{ always() }}
run: find . -name surefire-reports -o -name failsafe-reports -o -name verticle.log | tar -czf tests-report-ui.tgz -T -
- uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
#if: ${{ failure() || success() }}
if: ${{ always() }}
with:
name: tests-output
path: tests-report-*.tgz
Expand Down Expand Up @@ -237,11 +253,27 @@ jobs:
-Dwebdriver.chrome.driver=$(which chromedriver) \
-Duitest.chrome-version=$CHROME_VERSION \
-Dtest.vertx.jvmArgs="-Dorg.slf4j.simpleLogger.logFile=target/verticle.log -Dvaadin.require.home.node=true -Xmx2048M -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory"
- name: Dump threads
if: ${{ cancelled() }}
run: |
for pid in $(jps | cut -d ' ' -f 1); do
echo
echo
echo "========================= BEGIN THREAD DUMP $pid"
jps -mlvV | grep "$pid "
echo
jstack $pid
echo "========================= END THREAD DUMP $pid"
echo
echo
done
- name: Package test output files
if: ${{ failure() || success() }}
#if: ${{ failure() || success() }}
if: ${{ always() }}
run: find . -name surefire-reports -o -name failsafe-reports -o -name verticle.log | tar -czf tests-report-ui.tgz -T -
- uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
#if: ${{ failure() || success() }}
if: ${{ always() }}
with:
name: tests-output
path: tests-report-*.tgz
Expand Down

0 comments on commit 5266fd5

Please sign in to comment.