-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 introducing contract testing #7172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
matusdrobuliak66
merged 26 commits into
ITISFoundation:master
from
matusdrobuliak66:pact-broker-experiment
Mar 4, 2025
Merged
Changes from 16 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
051bd9f
introducing contract testing
matusdrobuliak66 d27aab3
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 4d80ec9
introduce pact testing
matusdrobuliak66 f5adb63
openapi specs
matusdrobuliak66 b2f764e
add pact-tests github job
matusdrobuliak66 e701dfa
add secrets
matusdrobuliak66 70df54f
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 ea04200
review @sanderegg
matusdrobuliak66 c785f5e
review @sanderegg
matusdrobuliak66 5557d72
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 883daa9
review @pcrespov
matusdrobuliak66 e88cf91
review
matusdrobuliak66 e84c8af
fix
matusdrobuliak66 e5e41fa
modify ci github actions
matusdrobuliak66 09de0ba
modify ci github actions
matusdrobuliak66 b782956
modify ci github actions
matusdrobuliak66 21d3eaf
modify ci github actions
matusdrobuliak66 b02e802
review @sanderegg
matusdrobuliak66 a66634d
review @pcrespov
matusdrobuliak66 ea88a5c
fix
matusdrobuliak66 e2043f7
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 38026a5
fix
matusdrobuliak66 dff6235
small refactor
matusdrobuliak66 196d0fb
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 806c923
fix
matusdrobuliak66 034063e
Merge branch 'master' into pact-broker-experiment
matusdrobuliak66 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matusdrobuliak66 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # This workflow holds jobs which are required to pass before merging into master | ||
|
|
||
| name: Master deploy CI | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - "master" | ||
| # https://github.blog/changelog/2023-02-08-pull-request-merge-queue-public-beta/ | ||
| merge_group: | ||
| branches: | ||
| - "master" | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| pact-tests: | ||
| timeout-minutes: 10 | ||
| name: "Run PACT tests" | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| # secrets can be set in settings/secrets on github | ||
| PACT_BROKER_URL: ${{ secrets.PACT_BROKER_URL }} | ||
| PACT_BROKER_USERNAME: ${{ secrets.PACT_BROKER_USERNAME }} | ||
| PACT_BROKER_PASSWORD: ${{ secrets.PACT_BROKER_PASSWORD }} | ||
| steps: | ||
| - name: setup python environment | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| - name: install uv | ||
| uses: astral-sh/setup-uv@v5 | ||
| with: | ||
| version: "0.5.x" | ||
| enable-cache: false | ||
| - name: checkout source branch | ||
| uses: actions/checkout@v4 | ||
| - name: Run pact tests | ||
| run: | | ||
| make devenv | ||
| source .venv/bin/activate | ||
| cd services/api-server | ||
| make test-pacts |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.