update phpunit workflow

This commit is contained in:
André Menrath 2024-09-20 20:35:00 +02:00
parent 3d689713ad
commit 4ed94f5d60

View file

@ -29,13 +29,13 @@ jobs:
tools: composer, phpunit-polyfills
extensions: mysql
# - name: Install Composer dependencies for PHP
# uses: "ramsey/composer-install@v1"
- name: Install Composer dependencies for PHP
uses: "ramsey/composer-install@v1"
# - name: Setup Test Environment
# run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 ${{ matrix.wp-version }}
- name: Setup Test Environment
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 ${{ matrix.wp-version }}
# - name: Unit Testing
# run: ./vendor/bin/phpunit
# env:
# PHP_VERSION: ${{ matrix.php-versions }}
- name: Unit Testing
run: ./vendor/bin/phpunit
env:
PHP_VERSION: ${{ matrix.php-versions }}