Commit Graph

227 Commits

Author SHA1 Message Date
Shivam Mathur
63c7766312 Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE 2022-01-29 04:40:49 +05:30
Shivam Mathur
495989aff1 Merge pull request #561 from villfa/feat/churn
Tools: add support for Churn-PHP
2022-01-29 03:49:42 +05:30
Fabien Villepinte
c09e310dc1 Tools: add support for Churn-PHP 2022-01-28 23:07:30 +01:00
Shivam Mathur
1db2ec93f3 Fix tools.getLatestVersion 2022-01-27 08:44:53 +05:30
Shivam Mathur
a0a791cada Add ini_file input to set base php.ini 2022-01-25 13:43:49 +05:30
Shivam Mathur
e480353a3d Process extensions before tools 2022-01-13 04:29:05 +05:30
Shivam Mathur
2fd8046c9d Refactor extension functions to add_extensions scripts 2022-01-05 15:20:40 +05:30
Shivam Mathur
f24f33ea89 Scope binary tools installed using composer 2021-12-31 00:11:33 +05:30
Shivam Mathur
7789b4e03e Switch to phar releases for phpspec 2021-12-29 20:17:24 +05:30
Shivam Mathur
0f13e29d1f Use composer phars from cache with PHP version 2021-12-22 20:07:07 +05:30
Shivam Mathur
15b20027cf Use GitHub releases for phive's latest version 2021-12-13 07:47:57 +05:30
Shivam Mathur
a274bd910a Fix to handle wrong pecl versions with hyphen 2021-12-08 04:56:29 +05:30
Shivam Mathur
b33066473d Log error when wrong Xdebug version is requested 2021-11-26 00:07:28 +05:30
Shivam Mathur
4c5c122aa6 PHP 8.1 is now stable and marked as default version 2021-11-25 17:34:13 +05:30
Shivam Mathur
0cd4af837e Merge pull request #516 from aneeshrelan/feature/refactor-install-tests-to-use-jest-each
tests: refactor install.test.ts to use jest.each
2021-10-09 19:18:17 +05:30
Aneesh Relan
96e47f9be7 tests: have a strict assertion using toBe 2021-10-09 19:01:59 +05:30
Aneesh Relan
eca40cad4d tests: resolve windows path matching 2021-10-09 18:59:50 +05:30
Aneesh Relan
4e864eae3b tests: move os to a parameter 2021-10-09 18:44:47 +05:30
Aneesh Relan
49a0bad962 tests: refactor install.test.ts to use jest.each 2021-10-09 17:30:06 +05:30
Shivam Mathur
b971d8f4ad use brew_extensions config for testing add_brew_extension 2021-10-09 08:11:39 +05:30
Aneesh Relan
f2d6820ca2 tests: sort test data in alphabetic order and merge duplicates 2021-10-08 22:24:17 +05:30
Aneesh Relan
705c2a5785 tests: increase test coverage for extensions.test.ts 2021-10-08 20:28:41 +05:30
Aneesh Relan
5e33fdb0d9 tests: refactor extensions.test.ts to use jest.each 2021-10-08 20:02:42 +05:30
Aneesh Relan
2cc925b655 tests: refactor extensions test to use jest-each 2021-10-06 01:05:47 +05:30
jrfnl
2c8682d5e6 Tools: add support for phpunit-polyfills
Ref: https://github.com/Yoast/PHPUnit-Polyfills
2021-09-20 16:04:04 +02:00
jrfnl
257e4c088d Tools: add support for parallel-lint 2021-09-20 02:22:22 +02:00
jrfnl
fa5fbefff9 Tools: add support for phpDocumentor 2021-09-19 13:41:39 +02:00
Shivam Mathur
13760f5b16 Add support for expect and ssh2 using shivammathur/extensions tap on macOS 2021-09-16 18:41:02 +05:30
Shivam Mathur
a34eeedd37 Bump version to 2.14.0
Add config to generate types

Fix build error in install.ts after TypeScript upgrade

Minor refactor in install.test.ts

Add bugs, directories, files and types entries in package.json

Update Node.js dependencies

Update SECURITY.md
2021-09-11 05:25:45 +05:30
Shivam Mathur
64e9bb0e79 Add special cases to config.test.ts 2021-09-09 07:19:49 +05:30
Shivam Mathur
19a01870e7 Refactor config.test.ts 2021-09-09 07:08:12 +05:30
Shivam Mathur
c4560dd084 Refactor coverage.test.ts 2021-09-09 06:54:17 +05:30
Shivam Mathur
e990e98a54 Use shivammathur/extensions tap to install vips on macOS 2021-09-01 15:53:05 +05:30
Shivam Mathur
b2d037d560 Add support to remove all shared extensions 2021-08-28 12:17:23 +05:30
Shivam Mathur
8e80635955 Fix parsing extensions input if Zend OPcache is specified instead of opcache 2021-08-28 12:17:21 +05:30
Shivam Mathur
c8837583fc Do not check dependents for PCOV and Xdebug 2021-08-28 12:17:21 +05:30
Shivam Mathur
5402397d9f Do not delete extensions, just disable them 2021-08-28 12:17:19 +05:30
Shivam Mathur
4d3cfaa653 Fixed support for php-cs-fixer
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.

Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +05:30
Shivam Mathur
5137c78ee5 Use shivammathur/extensions tap for yaml extension on macOS 2021-08-18 09:53:32 +05:30
Shivam Mathur
4bb4f1812c Fix to make utils.readEnv more resilient to user input 2021-08-18 09:53:26 +05:30
Shivam Mathur
7bd9f10bef Add no_tools_cache flag 2021-08-18 09:53:25 +05:30
Shivam Mathur
0b38e86c65 Use shivammathur/extensions tap on macOS for mongodb on PHP 5.6 to 8.1 2021-08-18 09:53:24 +05:30
jrfnl
f31d416e6e Update Phive configuration
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3.

This adds the switch statement for Phive to take this into account.

Ref: https://github.com/phar-io/phive/releases
2021-08-01 19:52:48 +02:00
Shivam Mathur
c88f07696b Add support for phpunit-bridge 2021-07-17 08:42:11 +05:30
Shivam Mathur
a3727c20a4 Bump version to 2.12.0
Update Node.js dependencies
2021-07-14 14:38:18 +05:30
Shivam Mathur
09e08a3554 More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
1a216636c5 Use composer for composer-require-checker 2021-07-12 10:45:56 +05:30
Shivam Mathur
14fa980966 Improve error handling in utils.fetch and its uses
Minor fixes in tests

Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
39491a0fba Add authorization header to GitHub API call when COMPOSER_TOKEN is set 2021-07-07 22:40:05 +05:30
Shivam Mathur
c6b6dabbb9 Refactor tests for tools using jest.Each 2021-07-07 22:40:04 +05:30