From 2568034d3cd3cc6d3a0da052152242f32accc9c7 Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 19:28:52 -0400 Subject: [PATCH 1/9] adding PHP 8.5 --- .github/workflows/Unit_Tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index 08088cd..b323fd4 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -12,7 +12,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: From 86c349587ef3ef5cedc8b4100ea430d9da9de216 Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 19:47:20 -0400 Subject: [PATCH 2/9] Changing unit tests to always run, but not to push to coveralls. --- .github/workflows/Unit_Tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index b323fd4..9c9a723 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -2,9 +2,7 @@ name: Unit Tests on: pull_request: null - push: - branches: - - master + push: null jobs: tests: @@ -50,6 +48,7 @@ jobs: if: (!contains(matrix.php-versions, '7.')) && (matrix.php-versions != '8.0') - name: Coveralls Test Submission + if: ${{ github.ref == 'refs/heads/master' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true @@ -62,6 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Close Coveralls Run + if: ${{ github.ref == 'refs/heads/master' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_ENDPOINT: https://coveralls.io From 044e888093967a8a09cf95c67eba29f398ac841e Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 19:50:03 -0400 Subject: [PATCH 3/9] moving condition --- .github/workflows/Unit_Tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index 9c9a723..c34fb85 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -57,11 +57,11 @@ jobs: finish: name: Close Coveralls Run + if: ${{ github.ref == 'refs/heads/master' }} needs: tests runs-on: ubuntu-latest steps: - name: Close Coveralls Run - if: ${{ github.ref == 'refs/heads/master' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_ENDPOINT: https://coveralls.io From f2002db9ea7fc728cce0324a47d079af24925c93 Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 23:09:39 -0400 Subject: [PATCH 4/9] Updating PHPUnit --- phpunit.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index f75eb4b..9e3e522 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,8 @@ tests - + src From eb0f584c9e2d4f2eefd624c098cc4e97270c2c8e Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 23:14:22 -0400 Subject: [PATCH 5/9] Addressing phpunit changes between v10 and 12. --- .github/workflows/Unit_Tests.yml | 8 +++++++- docs | 2 +- phpunit.10.xml | 28 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 phpunit.10.xml diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index c34fb85..9eacf3e 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -45,7 +45,13 @@ jobs: 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.1') + + - 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') && (matrix.php-versions != '8.1') - name: Coveralls Test Submission if: ${{ github.ref == 'refs/heads/master' }} 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 + + + From be15f9ab53f02dbc410d05b2ec80e25d3f5f159c Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 23:15:51 -0400 Subject: [PATCH 6/9] Addressing phpunit changes between v10 and 12. --- .github/workflows/Unit_Tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index 9eacf3e..feddc0d 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -44,7 +44,7 @@ jobs: - name: Tests (PHPUnit 10) env: XDEBUG_MODE: coverage - run: ./vendor/bin/phpunit -c phpunit.xml --coverage-clover clover.xml + run: ./vendor/bin/phpunit -c phpunit.10.xml --coverage-clover clover.xml if: (matrix.php-versions == '8.1') - name: Tests (PHPUnit Latest) From 5cff89eb12b745285fa586edfeacd7516e24dede Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 23:27:46 -0400 Subject: [PATCH 7/9] Addressing phpunit changes between v10 and 12. --- phpunit.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 9e3e522..227d052 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,10 +1,9 @@ - src + src From 83b1f601ed8525af88cefa8304f2d0565f6c0a16 Mon Sep 17 00:00:00 2001 From: "James K." Date: Sun, 20 Apr 2025 23:35:03 -0400 Subject: [PATCH 8/9] For now, only running on pushes on any branch. --- .github/workflows/Unit_Tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index feddc0d..af9983b 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -1,7 +1,7 @@ name: Unit Tests on: - pull_request: null +# pull_request: null push: null jobs: From 4ce70ad563cedbb3c5c3b337866487ffa65a0a80 Mon Sep 17 00:00:00 2001 From: "James K." Date: Mon, 21 Apr 2025 22:17:11 -0400 Subject: [PATCH 9/9] Separating phpunit 11. --- .github/workflows/Unit_Tests.yml | 8 +++++++- phpunit.11.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 phpunit.11.xml diff --git a/.github/workflows/Unit_Tests.yml b/.github/workflows/Unit_Tests.yml index af9983b..501aa5c 100644 --- a/.github/workflows/Unit_Tests.yml +++ b/.github/workflows/Unit_Tests.yml @@ -47,11 +47,17 @@ jobs: 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') && (matrix.php-versions != '8.1') + if: (matrix.php-versions > 8.2) - name: Coveralls Test Submission if: ${{ github.ref == 'refs/heads/master' }} 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 + + +