Skip to content

Commit

Permalink
Run phpunit even when lint fials (WordPress#27024)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen authored Nov 17, 2020
1 parent bcd4775 commit 4d18b77
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,17 @@ jobs:
chmod -R 767 ./ # TODO: Possibly integrate in wp-env
npm run wp-env start
- name: Running the tests
run: npm run test-php && npm run test-unit-php-multisite
- name: Running lint check
run: npm run lint-php

- name: Running single site unit tests
run: npm run test-unit-php
if: ${{ success() || failure() }}

- name: Running multisite unit tests
run: npm run test-unit-php-multisite
if: ${{ success() || failure() }}


mobile-unit-js:
name: Mobile
Expand Down

0 comments on commit 4d18b77

Please sign in to comment.