Skip to content

Commit a5e2e99

Browse files
chore(deps): update tests/v3/compatibility_suite/definition digest to cc76eac (#573)
Signed-off-by: JP-Ellis <josh@jpellis.me> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: JP-Ellis <josh@jpellis.me>
1 parent 7542ced commit a5e2e99

File tree

4 files changed

+3
-150
lines changed

4 files changed

+3
-150
lines changed

.github/workflows/test.yml

-12
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ jobs:
8989
with:
9090
submodules: true
9191

92-
- name: Apply temporary definitions update
93-
shell: bash
94-
run: |
95-
cd tests/v3/compatibility_suite
96-
patch -p1 -d definition < definition-update.diff
97-
9892
- name: Set up uv
9993
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2
10094
with:
@@ -163,12 +157,6 @@ jobs:
163157
with:
164158
submodules: true
165159

166-
- name: Apply temporary definitions update
167-
shell: bash
168-
run: |
169-
cd tests/v3/compatibility_suite
170-
patch -p1 -d definition < definition-update.diff
171-
172160
- name: Set up uv
173161
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2
174162
with:

CONTRIBUTING.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,9 @@ You can also try using the new [github.dev](https://github.dev/pact-foundation/p
101101

102102
3. After cloning the repository, run `hatch shell` in the root of the repository. This will install all dependencies in a Python virtual environment and then ensure that the virtual environment is activated. You will also need to run `git submodule init` if you want to run tests, as Pact Python makes use of the Pact Compatibility Suite.
103103

104-
4. Patch the compatibility suite by running `cd tests/v3/compatibility_suite && patch -p1 -d definition < definition-update.diff && cd -` in the root of the repository.
104+
4. To run tests, run `hatch run test` to make sure the test suite is working. You should also make sure the example works by running `hatch run example`. For the examples, you will have to make sure that you have Docker (or a suitable alternative) installed and running.
105105

106-
5. To run tests, run `hatch run test` to make sure the test suite is working. You should also make sure the example works by running `hatch run example`. For the examples, you will have to make sure that you have Docker (or a suitable alternative) installed and running.
107-
108-
6. If you want to run the tests against all supported Python versions, you can run `hatch run test:all`.
106+
5. If you want to run the tests against all supported Python versions, you can run `hatch run test:all`.
109107

110108
### Code Conventions
111109

tests/v3/compatibility_suite/definition-update.diff

-133
This file was deleted.

0 commit comments

Comments
 (0)