Skip to content

Commit 0c9b710

Browse files
committed
chore: use dorny/test-reporter for reporting gh action test results
1 parent 893a21c commit 0c9b710

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,21 +156,21 @@ test_with_coverage:
156156
SYNC_TOKENSERVER__DATABASE_URL=${SYNC_TOKENSERVER__DATABASE_URL} \
157157
RUST_TEST_THREADS=1 \
158158
cargo llvm-cov --summary-only --json --output-path ${MYSQL_COVERAGE_JSON} \
159-
nextest --workspace --profile ${TEST_PROFILE}; exit_code=$$?
159+
nextest --workspace --profile ${TEST_PROFILE} --message-format junit; exit_code=$$?
160160
mv target/nextest/${TEST_PROFILE}/junit.xml ${MYSQL_UNIT_JUNIT_XML}
161161
exit $$exit_code
162162

163163
.ONESHELL:
164164
spanner_test_with_coverage:
165165
cargo llvm-cov --summary-only --json --output-path ${SPANNER_COVERAGE_JSON} \
166-
nextest --workspace --no-default-features --features=syncstorage-db/spanner --features=py_verifier --profile ${TEST_PROFILE} || true; exit_code=$$?
166+
nextest --workspace --no-default-features --features=syncstorage-db/spanner --features=py_verifier --profile ${TEST_PROFILE} --message-format junit || true; exit_code=$$?
167167
mv target/nextest/${TEST_PROFILE}/junit.xml ${SPANNER_UNIT_JUNIT_XML}
168168
exit $$exit_code
169169

170170
.ONESHELL:
171171
postgres_test_with_coverage:
172172
cargo llvm-cov --summary-only --json --output-path ${POSTGRES_COVERAGE_JSON} \
173-
nextest --workspace --no-default-features --features=syncstorage-db/postgres --features=tokenserver-db/postgres --features=py_verifier --profile ${TEST_PROFILE}; exit_code=$$?
173+
nextest --workspace --no-default-features --features=syncstorage-db/postgres --features=tokenserver-db/postgres --features=py_verifier --profile ${TEST_PROFILE} --message-format junit; exit_code=$$?
174174
mv target/nextest/${TEST_PROFILE}/junit.xml ${POSTGRES_UNIT_JUNIT_XML}
175175
exit $$exit_code
176176

0 commit comments

Comments
 (0)