File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ vendor:
1111bin : vendor
1212
1313test-% : %
14- export PATH=" $( shell pwd) /$* :$( shell echo $$ PATH) " && \
14+ PATH=" $( shell pwd) /$* :$( shell echo $$ PATH) " \
1515 go test -count=1 ./...
1616
1717tests/data/releases-% .json : FORCE
@@ -20,6 +20,8 @@ tests/data/releases-%.json: FORCE
2020resources/all-versions.json : bin tests/data/releases-5.json tests/data/releases-7.json tests/data/releases-8.json
2121 ./bin/update-all-versions
2222
23- txtar : bin resources/all-versions.json
23+ --go-generate :
2424 go generate ./...
25- UPDATE_SCRIPTS=1 PATH=$(shell pwd) /bin:$$ PATH go test ./...
25+
26+ txtar : resources/all-versions.json --go-generate
27+ $(MAKE ) UPDATE_SCRIPTS=1 test-bin
Original file line number Diff line number Diff line change 6262 "sort-packages" : true
6363 },
6464 "scripts" : {
65- "data:update" : [
66- " curl 'https://www.php.net/releases/index.php?json&max=1000&version=5' | jq . > ./tests/data/releases-5.json" ,
67- " curl 'https://www.php.net/releases/index.php?json&max=1000&version=7' | jq . > ./tests/data/releases-7.json" ,
68- " curl 'https://www.php.net/releases/index.php?json&max=1000&version=8' | jq . > ./tests/data/releases-8.json" ,
69- " @php ./bin/update-all-versions" ,
70- " XDEBUG_MODE=off pest --update-snapshots"
71- ],
7265 "lint" : [
7366 " pint --test" ,
7467 " phpstan analyse"
7568 ],
7669 "pest" : " pest" ,
77- "pest:e2e" : " XDEBUG_MODE=off pest --group=e2e" ,
7870 "pest:unit" : " pest --group=unit"
7971 }
8072}
You can’t perform that action at this time.
0 commit comments