Skip to content

Commit

Permalink
More refinement.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj committed Jun 10, 2024
1 parent 57912df commit bfdfc7d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
# Controls which npm script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
PHPUNIT_SCRIPT: php
LOCAL_PHP_MEMCACHED: ${{ false }}
SLOW_TESTS: 'external-http,media,restapi'
# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
# Runs the PHPUnit tests for WordPress.
Expand Down Expand Up @@ -61,8 +58,7 @@ jobs:
uses: desrosj/wordpress-develop/.github/workflows/reusable-phpunit-tests.yml@try/5.8-make-workflows-callable
permissions:
contents: read
secrets:
inherit
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
strategy:
fail-fast: false
Expand Down

0 comments on commit bfdfc7d

Please sign in to comment.