Bump actions/checkout from 3 to 4 #422
This file contains 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: CI | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
name: Tests on PHP ${{ matrix.php }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
php: ['8.0', '8.1'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: mbstring,dom | |
ini-values: zend.assertions=1 | |
- name: Install dependencies | |
run: composer update --no-interaction --prefer-dist | |
- name: Configure PHPUnit matchers | |
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
- name: Run tests | |
run: ./vendor/bin/phpunit --verbose --colors Bz2Tuleap/tests/ |