Files
Zach Borboa 87fc9b3796 Use separate scripts to ci tests (#907)
* Run ci static analysis checks using scripts

* Clean up

* Move phpunit run to dedicated script

* Use run.sh and remove ci.sh

* Rename test scripts to be prefixed with "run_"

* Move static analysis runs to test script

* Clean up
2025-01-10 21:44:05 -05:00

812 B

Testing

Run Tests Locally

To run tests:

git clone https://github.com/php-curl-class/php-curl-class.git
cd php-curl-class/
composer update
./tests/run.sh

To run select tests:

git clone https://github.com/php-curl-class/php-curl-class.git
cd php-curl-class/
composer update
./tests/run.sh --filter=keyword

To test all PHP versions in containers:

git clone https://github.com/php-curl-class/php-curl-class.git
cd php-curl-class/
./tests/test_all.sh

Continuous Integration Tests

Continuous integration runs tests/run.sh on supported PHP versions and is configured with .github/workflows/ci.yml.