Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: pact-php ffi-next upgrade from 9.x (ruby core) to rust core
  • Loading branch information
YOU54F committed Jul 21, 2023
commit 370a87a2e1b54d85e7ba9865c7fd2b97738996a5
9 changes: 9 additions & 0 deletions provider/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@ build:

run-it:
@docker run -it --rm --name provider --network contract-pact_default acmachado/pact-provider:1.0 php -S provider:8000

start_and_test:
{ php -S localhost:8000 & }; \
pid=$$!; \
vendor/bin/phpunit; \
r=$$?; \
kill $$pid; \
exit $$r

.PHONY: run-it

2 changes: 1 addition & 1 deletion provider/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require-dev": {
"pact-foundation/pact-php": "^9.0",
"pact-foundation/pact-php": "dev-ffi-next as 10.0.0",
"phpunit/phpunit": "^9.5"
},
"require": {
Expand Down
Loading