Skip to content

Commit

Permalink
Investigate Java environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jun 23, 2024
1 parent 816b06d commit aec3391
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- name: ❓ Investigate Java environment
run: |
ls -lAh /usr/share/gradle-*
ls -lAh /usr/share/gradle-*/lib/junit-*
ls -lAh /usr/share/gradle-*/lib/hamcrest-*
- name: ✅ Run the Ant 'junit' target
run: |
cd examples/Java/JUnit
Expand Down
6 changes: 3 additions & 3 deletions examples/Java/JUnit/build-github.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
<src path="${src}" />
<src path="${test}" />
<classpath>
<pathelement location="/usr/share/gradle-8.7/lib/junit-4.13.2.jar"/>
<pathelement location="/usr/share/gradle-8.8/lib/junit-4.13.2.jar"/>
</classpath>
</javac>
</target>

<target name="junit" depends="compile">
<junit haltonerror="true" printsummary="true">
<classpath>
<pathelement location="/usr/share/gradle-8.7/lib/junit-4.13.2.jar"/>
<pathelement location="/usr/share/gradle-8.7/lib/hamcrest-core-1.3.jar"/>
<pathelement location="/usr/share/gradle-8.8/lib/junit-4.13.2.jar"/>
<pathelement location="/usr/share/gradle-8.8/lib/hamcrest-core-1.3.jar"/>
<pathelement location="${build}"/>
</classpath>
<formatter type="xml"/>
Expand Down

0 comments on commit aec3391

Please sign in to comment.