Repository navigation
chore: blocage des dependances sur des version legacy #169
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: Kahlan | |
| on: | |
| push: | |
| branches: | |
| - 'devs' | |
| paths: | |
| - 'src/**.php' | |
| - 'spec/**.php' | |
| - composer.json | |
| - kahlan-config.php | |
| - .github/workflows/test-kahlan.yml | |
| pull_request: | |
| branches: | |
| - 'devs' | |
| paths: | |
| - 'src/**.php' | |
| - 'spec/**.php' | |
| - composer.json | |
| - kahlan-config.php | |
| - .github/workflows/test-kahlan.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| operating-system: [ubuntu-latest] | |
| php-versions: ['8.1', '8.2'] | |
| name: Test with PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: curl #optional | |
| coverage: xdebug | |
| - name: Install dependencies | |
| run: composer install --no-interaction | |
| - name: Run Kahlan | |
| run: vendor/bin/kahlan --reporter=verbose --clover=clover.xml |