Attempt php coveralls #56
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: Test | |
| on: [ push ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| php: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: mkdir -p build/logs | |
| - name: Test PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{matrix.php}} | |
| - run: composer install | |
| - run: php vendor/bin/phpunit | |
| - name: Upload coverage results to Coveralls | |
| env: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| php-coveralls --coverage_clover=build/logs/clover.xml -v |