Re-add pug/slim #184
Workflow file for this run
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: Multi-test | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| multitest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: ['8.2', '8.4'] | |
| setup: ['stable'] | |
| name: PHP ${{ matrix.php }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| tools: composer:v2 | |
| - name: Cache Composer packages | |
| id: composer-cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: vendor | |
| key: ${{ runner.os }}-multi-test-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-multi-test-${{ matrix.php }}- | |
| - name: Install dependencies | |
| if: steps.composer-cache.outputs.cache-hit != 'true' | |
| run: | | |
| composer remove cebe/markdown js-phpize/js-phpize-phug nodejs-php-fallback/coffeescript nodejs-php-fallback/less nodejs-php-fallback/stylus nodejs-php-fallback/uglify phpunit/phpunit phpunit/php-code-coverage phpunit/php-invoker pug-php/pug pug-php/pug-filter-coffee-script squizlabs/php_codesniffer --dev --no-update --no-interaction | |
| composer require "kylekatarnls/multi-tester:^2.6.1" --dev --no-update --no-interaction | |
| composer update --prefer-dist --prefer-${{ matrix.setup }} --no-progress --no-interaction | |
| - name: Run test suites | |
| run: vendor/bin/multi-tester --verbose | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |