File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ jobs:
306306 COVERAGE : ${{ matrix.COVERAGE == '1' && '1' || '0' }}
307307 run : |
308308 if [ "$COVERAGE" == '1' ]; then
309- sed -n '1h;1!H;${;g;s /<source restrictDeprecations="true">.* <\/source>/<source restrictDeprecations="true"\/>/;s/<\/php>/<\/php>\ n\t<coverage>\n\t\t <include>\n\t\t\t<directory>..\/<\ /directory>\n\t\t<\ /include>\n\t\t<exclude>\n\t\t\t<directory>..\ /tests\/<\ /directory>\n\t\t\t<directory>..\ /language\/<\ /directory>\n\t\t\t<directory>..\ /migrations\/<\ /directory>\n\t\t<\ /exclude>\n\t<\/coverage>/g;p;} ' ".github/phpunit-$DB-github.xml" & > "phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml"
309+ sed ' /<source restrictDeprecations="true">/,/ <\/source>/c\\t <source restrictDeprecations="true">\ n\t\t <include>\n\t\t\t<directory>../< /directory>\n\t\t</include>\n\t\t<exclude>\n\t\t\t<directory>../tests/< /directory>\n\t\t\t<directory>../language/< /directory>\n\t\t\t<directory>../migrations/< /directory>\n\t\t</exclude>\n\t</source> ' ".github/phpunit-$DB-github.xml" > "phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml"
310310 else
311311 mkdir -p "phpBB/ext/$EXTNAME/.github" && cp .github/phpunit* "$_"
312312 fi
You can’t perform that action at this time.
0 commit comments