Skip to content

Commit 5d40176

Browse files
authored
Fix to suffix test name (#150)
1 parent 5967529 commit 5d40176

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/daily.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,19 +169,18 @@ jobs:
169169
- name: Record result
170170
if: always()
171171
run: |
172-
mkdir -p result-${{ matrix.tests.name }}
173172
if grep -q "Everything looks good!" scalardb/store/latest/jepsen.log; then
174-
echo "${{ matrix.tests.name }}:success" > result-${{ matrix.tests.name }}/result.txt
173+
echo "${{ matrix.tests.name }}:success" > result-${{ matrix.tests.name }}.txt
175174
else
176-
echo "${{ matrix.tests.name }}:failure" > result-${{ matrix.tests.name }}/result.txt
175+
echo "${{ matrix.tests.name }}:failure" > result-${{ matrix.tests.name }}.txt
177176
fi
178-
177+
179178
- name: Upload result
180179
if: always()
181180
uses: actions/upload-artifact@v4
182181
with:
183182
name: result-${{ matrix.tests.name }}
184-
path: result-${{ matrix.tests.name }}/result.txt
183+
path: result-${{ matrix.tests.name }}.txt
185184

186185
- name: Upload logs
187186
if: always()
@@ -217,7 +216,7 @@ jobs:
217216
successes=""
218217
failures=""
219218
220-
for file in results/result-*/result.txt; do
219+
for file in results/result-*.txt; do
221220
while read -r line; do
222221
name=$(echo "$line" | cut -d: -f1)
223222
status=$(echo "$line" | cut -d: -f2)

0 commit comments

Comments
 (0)