From 34db25536e87f8f0d2d6b98fcb3f58dc6840a575 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Mon, 12 Jan 2026 17:44:56 +0000 Subject: [PATCH] MDL-87634 core: exclude fixtures from Github actions "one-by-one" job. This is consistent with the PHPUnit general configuration in 20aa9d05. --- .github/workflows/onebyone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/onebyone.yml b/.github/workflows/onebyone.yml index c84b2b86084..8dd894cb7e0 100644 --- a/.github/workflows/onebyone.yml +++ b/.github/workflows/onebyone.yml @@ -51,7 +51,7 @@ jobs: chunk=$(((($count % $chunks)) + 1)) echo "$testname $testfile" >> ./chunk_$chunk.txt done < <(grep "function test_" "${testfile}" | sed -r "s/^.*function (test_[a-zA-Z0-9_]+).*/\1/") - done < <(find . -name "*_test.php") + done < <(find . -name "*_test.php" -not -path "*/fixtures/*") # Generate the matrix to run tests. echo "matrix=$(ls -1 chunk_*.txt | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT echo "$count individual tests collected in $chunks files"