Skip to content

Commit

Permalink
feat(app-test.yaml): testing GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neha-puraswani committed Oct 27, 2023
1 parent 02ab9f6 commit 4de89d9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/app-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test application

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
id-token: write
statuses: write
checks: write
# may also be read
contents: write
pull-requests: write
actions: write

jobs:
test-app:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Test app
run: gradle test
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public void publishServiceComplianceToMessagingQueue(UUID serviceOfferId, String
PublishToQueueRequest publishToQueueRequest = new PublishToQueueRequest();
publishToQueueRequest.setSource(this.wizardHost);
publishToQueueRequest.setData((Map<String, Object>) this.objectMapper.readValue(complianceCredential, Map.class).get("complianceCredential"));
System.out.println("Wizard Host:: " + this.wizardHost);

try {
ResponseEntity<Object> publishServiceComplianceResponse = this.messagingQueueClient.publishServiceCompliance(publishToQueueRequest);
Expand Down

0 comments on commit 4de89d9

Please sign in to comment.