We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc39c7 commit cd16871Copy full SHA for cd16871
bin/release/prepare
@@ -72,7 +72,15 @@ function updateInfectionBadge() {
72
rm "${logsPath}"
73
fi
74
75
- "${rootDir}"/bin/release/infection > /dev/null
+ "${rootDir}"/bin/release/infection
76
+
77
+ if [ ! -f "${logsPath}" ]; then
78
+ echo "Unable to find infestion logs.json."
79
+ ls -lah "${rootDir}"/var
80
+ ls -lah "${rootDir}"/var/release
81
+ ls -lah "${rootDir}"/var/release/infection
82
+ exit 1
83
+ fi
84
85
local infectionMsiPercent=
86
infectionMsiPercent=$(jq -r ".stats.msi" < "${logsPath}")
config/ci/infection.json
@@ -9,7 +9,6 @@
9
},
10
"tmpDir": "../../var/ci/infection",
11
"logs": {
12
- "text": "php://stdout",
13
- "json": "var/ci/infection/logs.json"
+ "text": "php://stdout"
14
}
15
0 commit comments