Skip to content

Commit 0387c05

Browse files
committed
Try another coverage fix
Retry Try again Try again
1 parent d948381 commit 0387c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)