Skip to content

Commit

Permalink
test: pass pact broker credentials to publish verification results
Browse files Browse the repository at this point in the history
  • Loading branch information
jangjunha committed Sep 14, 2023
1 parent 7236d8c commit e0722fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/verify-pact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:

- name: Execute Gradle test
run: ./gradlew test
env:
PACT_BROKER_USERNAME: ${{ env.PACT_BROKER_USERNAME }}
PACT_BROKER_PASSWORD: ${{ env.PACT_BROKER_PASSWORD }}

- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions ftgo-order-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ grpc:
port: 0
pactbroker:
url: https://pact.ftgo.jangjunha.me/
username: ${PACT_BROKER_USERNAME}
password: ${PACT_BROKER_PASSWORD}

0 comments on commit e0722fe

Please sign in to comment.