chore: request #41477 Publish container image on ghcr.io #537
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: {} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
name: Tests on PHP ${{ matrix.php }} | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
php: ['8.2', '8.3'] | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0 | |
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/ |