Skip to content

Commit

Permalink
compileTestJava depends on core jakarta overwrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
appiepollo14 committed Nov 11, 2023
1 parent cce6833 commit 0a285c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/microshed-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: gradle
- uses: testspace-com/setup-testspace@ee1482f978eb5010ec27b6f6372904f01f2edd68 # v1.0.6
if: ${{ github.event_name == 'push' }}
with:
domain: ${{github.repository_owner}}
# - uses: testspace-com/setup-testspace@ee1482f978eb5010ec27b6f6372904f01f2edd68 # v1.0.6
# if: ${{ github.event_name == 'push' }}
# with:
# domain: ${{github.repository_owner}}
- name: Run integration tests
shell: bash
env:
Expand Down Expand Up @@ -117,6 +117,6 @@ jobs:

echo "Done running all tests, results folder contains:"
ls -la results/
- name: Upload test results
if: ${{ github.event_name == 'push' }}
run: testspace "[ ${{ matrix.category }} ]results/TEST-*.xml"
# - name: Upload test results
# if: ${{ github.event_name == 'push' }}
# run: testspace "[ ${{ matrix.category }} ]results/TEST-*.xml"
1 change: 1 addition & 0 deletions sample-apps/everything-jakarta-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dependencies {

war.archiveFileName.set 'myservice.war'
test.dependsOn 'war'
compileTestJava.dependsOn ':microshed-testing-core-jakarta:overwrite'

// Always re-run tests on every build for the sake of this sample
// In a real project, this setting would not be desirable
Expand Down

0 comments on commit 0a285c1

Please sign in to comment.