diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index 08088cd..501aa5c 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -1,10 +1,8 @@ name: Unit Tests on: - pull_request: null - push: - branches: - - master +# pull_request: null + push: null jobs: tests: @@ -12,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] + php-versions: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] name: PHP ${{ matrix.php-versions }} Tests steps: @@ -44,12 +42,25 @@ jobs: if: (matrix.php-versions == '7.3') || (matrix.php-versions == '7.4') || (matrix.php-versions == '8.0') - name: Tests (PHPUnit 10) + env: + XDEBUG_MODE: coverage + run: ./vendor/bin/phpunit -c phpunit.10.xml --coverage-clover clover.xml + if: (matrix.php-versions == '8.1') + + - name: Tests (PHPUnit 11) + env: + XDEBUG_MODE: coverage + run: ./vendor/bin/phpunit -c phpunit.11.xml --coverage-clover clover.xml + if: (matrix.php-versions == '8.2') + + - name: Tests (PHPUnit Latest) env: XDEBUG_MODE: coverage run: ./vendor/bin/phpunit -c phpunit.xml --coverage-clover clover.xml - if: (!contains(matrix.php-versions, '7.')) && (matrix.php-versions != '8.0') + if: (matrix.php-versions > 8.2) - name: Coveralls Test Submission + if: ${{ github.ref == 'refs/heads/master' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true @@ -58,6 +69,7 @@ jobs: finish: name: Close Coveralls Run + if: ${{ github.ref == 'refs/heads/master' }} needs: tests runs-on: ubuntu-latest steps: diff --git a/docs b/docs index c9a7331..9aee15b 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit c9a7331b9769bcc8493842d3e67f37483f7c45d2 +Subproject commit 9aee15bbacf57574bcdbf7a9c9abb0701c4fd674 diff --git a/phpunit.10.xml b/phpunit.10.xml new file mode 100644 index 0000000..248e655 --- /dev/null +++ b/phpunit.10.xml @@ -0,0 +1,28 @@ + + + + + tests + + + + + + src + + + diff --git a/phpunit.11.xml b/phpunit.11.xml new file mode 100644 index 0000000..227d052 --- /dev/null +++ b/phpunit.11.xml @@ -0,0 +1,29 @@ + + + + + tests + + + + + + src + + + diff --git a/phpunit.xml b/phpunit.xml index f75eb4b..227d052 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,15 +1,16 @@ tests - + - src + src