Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,15 @@ jobs:
${{ steps.cache-key.outputs.buildtool-monthly-branch-cache-key }}-
${{ steps.cache-key.outputs.buildtool-monthly-cache-key }}-

- name: Print home path
run: echo ~/

- name: Print users
run: cat /etc/passwd

- name: Run build script
env:
HOME: /home/opc/actions-runner
RDBMS: ${{ matrix.rdbms }}
RUNID: ${{ github.run_number }}
run: ./ci/build-github.sh
Expand Down
9 changes: 4 additions & 5 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ elif [ "$RDBMS" == "informix" ]; then
goal="-Pdb=informix"
fi

function logAndExec() {
echo 1>&2 "Executing:" "${@}"
exec "${@}"
}
./gradlew hibernate-maven-plugin:integrationTest ${goal} "${@}" -Plog-test-progress=true --stacktrace --info || true

logAndExec ./gradlew ciCheck ${goal} "${@}" -Plog-test-progress=true --stacktrace
echo "Printing contents of /home/opc/actions-runner/_work/hibernate-orm/hibernate-orm/tooling/hibernate-maven-plugin/target/maven-embedder/workspace/target/its/enhance/build.log"

cat /home/opc/actions-runner/_work/hibernate-orm/hibernate-orm/tooling/hibernate-maven-plugin/target/maven-embedder/workspace/target/its/enhance/build.log
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ private void configureInstallHibernateScanJandexTask(RunMavenTask task) {
}

private void configureIntegrationTestTask(RunMavenTask task) {
List<String> arguments = new ArrayList<String>(task.getArguments().get());
arguments.add("-e"); // enable full stack trace of errors
arguments.add("-X"); // enable full debug logging
task.getArguments().set( arguments );
task.getGoals().set( "invoker:run" );
task.dependsOn("createMavenWrapper", "installHibernateMavenPlugin");
}
Expand Down
Loading