Skip to content

Commit

Permalink
Update wordpress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charan-happy authored May 24, 2024
1 parent 386cfb9 commit 58a0e72
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: cd wordpress-app && composer install
- name: Install PHPUnit
run: composer require --dev phpunit/phpunit
- name: Test
run: phpunit
run: vendor/bin/phpunit
- name: Dockerhub Login
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 58a0e72

Please sign in to comment.