Skip to content

Commit 5495b98

Browse files
committed
Fix infection logs not found
1 parent cd16871 commit 5495b98

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
build:
1212
name: Release
1313
runs-on: ubuntu-latest
14-
container:
15-
image: steevanb/php-parallel-processes:release
1614
steps:
1715
- uses: actions/checkout@v2
1816
-

bin/release/prepare

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ function updateInfectionBadge() {
7272
rm "${logsPath}"
7373
fi
7474

75-
"${rootDir}"/bin/release/infection
75+
"${rootDir}"/bin/release/infection > /dev/null
7676

7777
if [ ! -f "${logsPath}" ]; then
78-
echo "Unable to find infestion logs.json."
78+
echo "Unable to find infection logs.json."
7979
ls -lah "${rootDir}"/var
8080
ls -lah "${rootDir}"/var/release
8181
ls -lah "${rootDir}"/var/release/infection

config/release/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<phpunit
2-
cacheResultFile="../../var/ci/phpunit/.phpunit.result.cache"
2+
cacheResultFile="../../var/release/phpunit/.phpunit.result.cache"
33
colors="true"
44
>
55
<testsuites>
@@ -8,7 +8,7 @@
88
</testsuite>
99
</testsuites>
1010
<coverage
11-
cacheDirectory="/app/var/ci/phpunit/coverage/cache"
11+
cacheDirectory="/app/var/release/phpunit/coverage/cache"
1212
processUncoveredFiles="true"
1313
>
1414
<include>

0 commit comments

Comments
 (0)