Skip to content

Commit

Permalink
Add bootstrap script to PHPUnit configuration
Browse files Browse the repository at this point in the history
The PHPUnit command now includes a bootstrap file to ensure the PECL tests are set up correctly. This change helps in initializing the necessary environment before running the tests, leading to more reliable test outcomes.
  • Loading branch information
koriym committed Nov 4, 2024
1 parent d9f4176 commit c43e34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-pecl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Run PHPUnit tests
id: run_phpunit_tests
run: |
php -dextension=./ext-rayaop/modules/rayaop.so vendor/bin/phpunit --coverage-clover=coverage.xml
php -dextension=./ext-rayaop/modules/rayaop.so vendor/bin/phpunit --coverage-clover=coverage.xml --bootstrap=./tests/bootstrap_pecl_test.php
- name: Upload coverage report
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit c43e34e

Please sign in to comment.