Merge pull request #162 from ottlinger/dependabot/composer/phpunit/ph… #129
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 | |
on: [push] | |
# git show 7fe70e20d965116236fa0bae8132d46d043647f5 | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: php-actions/composer@v6 # or alternative dependency management | |
- name: PHPUnit tests | |
uses: php-actions/phpunit@v3 | |
env: | |
XDEBUG_MODE: coverage | |
with: | |
test_suffix: "Test.php" # get rid of warning after updating to PHPUnit11 | |
php_extensions: "xdebug mbstring xml curl" | |
configuration: "./phpunit.xml" | |
coverage_clover: "coverage.xml" | |
version: "11.5.4" | |
php_version: "8.3" | |
- name: Code coverage with codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |