Copy Content: Keep Shortcodes Intact in the Post Content Mirror #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| phpunit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| with: | |
| # inc/installer and build are git submodules; without them the | |
| # checkout is incomplete and inc/admin.php warns on include. | |
| # Submodules are fetched during this step, so the token does not | |
| # need to persist into later steps. | |
| submodules: recursive | |
| persist-credentials: false | |
| - uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 | |
| with: | |
| php-version: '8.3' | |
| coverage: none | |
| - run: composer install --prefer-dist --no-progress | |
| - run: composer test |