From 0e3eb2b47443b1d2cf8a054dfeee5440393a9efc Mon Sep 17 00:00:00 2001
From: oleibman <10341515+oleibman@users.noreply.github.com>
Date: Sun, 12 Jan 2025 14:45:02 -0800
Subject: [PATCH] Experiment with Different Phpunit Xml Dists
---
.github/workflows/php.yml | 14 +++++++++++---
phpunit.7.8.xml.dist | 12 ++++++++++++
phpunit10.xml.dist | 20 ++++++++++++++++++++
3 files changed, 43 insertions(+), 3 deletions(-)
create mode 100644 phpunit.7.8.xml.dist
create mode 100644 phpunit10.xml.dist
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml
index 0e2e9ea96d..b403e57d8a 100644
--- a/.github/workflows/php.yml
+++ b/.github/workflows/php.yml
@@ -83,11 +83,19 @@ jobs:
- name: Composer Install
run: composer install --ansi --prefer-dist --no-interaction --no-progress
- - name: Run phpunit
- if: matrix.php != '7.3'
+ - name: Run phpunit 7.1 7.2
+ if: matrix.php == '7.1' || matrix.php == '7.2'
+ run: ./vendor/bin/phpunit -c phpunit.7.8.xml.dist --no-coverage
+
+ - name: Run phpunit 7.4 8.0
+ if: matrix.php == '7.4' || matrix.php == '8.0'
run: ./vendor/bin/phpunit -c phpunit.xml.dist --no-coverage
- - name: Run phpunit
+ - name: Run phpunit 8.1 8.2 8.3 8.4
+ if: matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'
+ run: ./vendor/bin/phpunit -c phpunit10.xml.dist --no-coverage
+
+ - name: Run phpunit 7.3
if: matrix.php == '7.3'
run: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/clover.xml
diff --git a/phpunit.7.8.xml.dist b/phpunit.7.8.xml.dist
new file mode 100644
index 0000000000..a8327fb286
--- /dev/null
+++ b/phpunit.7.8.xml.dist
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+ ./tests/PhpWordTests
+
+
+
+
diff --git a/phpunit10.xml.dist b/phpunit10.xml.dist
new file mode 100644
index 0000000000..b97fbee3fb
--- /dev/null
+++ b/phpunit10.xml.dist
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+ ./tests/PhpWordTests
+
+
+
+
+