Output junit .xml test logs in conformance.yml
@@ -263,7 +263,8 @@ jobs:
echo "Running tests for Test${KIND_UPPER}Conformance/${KIND}/${NAME} ... "
set +e
- gotestsum --jsonfile ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.json --format standard-verbose -- \
+ gotestsum --jsonfile ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.json \
+ --junitfile ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.xml --format standard-verbose -- \
-p 2 -count=1 -timeout=15m -tags=conftests ./tests/conformance --run="Test${KIND_UPPER}Conformance/${NAME}"
status=$?
@@ -304,10 +305,10 @@ jobs:
exit 1
fi
- # Upload logs for dashboard like dapr/dapr E2E tests
+ # Upload logs for test analytics to consume
- name: Upload test results
if: always()
uses: actions/upload-artifact@master
with:
- name: ${{ matrix.component }}_conformance_test.json
- path: ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.json
+ name: ${{ matrix.component }}_conformance_test
+ path: ${{ env.TEST_OUTPUT_FILE_PREFIX }}_conformance.*
