Update EPV to work within phpBB4 #119
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: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| php-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - php: '7.2' | |
| - php: '7.3' | |
| - php: '7.4' | |
| - php: '8.0' | |
| - php: '8.1' | |
| - php: '8.2' | |
| - php: '8.3' | |
| - php: '8.4' | |
| name: PHP ${{ matrix.php }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Mark repo safe for git | |
| run: git config --global --add safe.directory /github/workspace | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, intl, iconv | |
| coverage: none | |
| - name: Cache Composer dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: /tmp/composer-cache | |
| key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
| - name: Delete composer.lock (library mode) | |
| run: rm -f composer.lock | |
| - name: Install Composer dependencies | |
| uses: php-actions/composer@v6 | |
| with: | |
| php_version: ${{ matrix.php }} | |
| args: --prefer-source | |
| - name: Run tests | |
| run: | | |
| bin/phpunit | |
| src/EPV.php run --debug --github="phpbb/phpbb-ext-acme-demo" |