Skip to content

Commit

Permalink
Additional steps to run integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mswatosh committed Nov 16, 2023
1 parent 39b44fb commit 503e4e1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ jobs:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Compile App
run: mvn -B compiler:compile
- name: Compile Tests
run: mvn -B compiler:testCompile
- name: Create Server
run: mvn -B liberty:create
- name: Deploy App
run: mvn -B liberty:deploy
- name: Start Server
run: mvn -B liberty:test-start
- name: Run Integration Tests
Expand All @@ -51,11 +57,10 @@ jobs:
- name: Verify Integration Test Results
run: mvn -B failsafe:verify
- name: Archive Liberty logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: liberty-logs
path: target/liberty/wlp/usr/servers/JakartaDataServer/logs/console.log
path: target/liberty/wlp/usr/servers/JakartaDataServer/logs/
retention-days: 1


Expand Down

0 comments on commit 503e4e1

Please sign in to comment.