File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - run : ' echo "No build required"'
21+ # As long as this workflow uses the same name than .github/workflows/test.yml and
22+ # the test-reporter requires artifacts with the test results to exist.
23+ # let's produce a dummy test so the test-report don't fail in this particular
24+ # case
25+ - name : Generate junit placeholder - to integrate with test-reporter
26+ run : |-
27+ cat > docs-python-agent-junit.xml << ENDOFFILE
28+ <?xml version="1.0" encoding="UTF-8"?>
29+ <testsuites name="apm-agent-python" tests="1" failures="0" errors="0" time="1">
30+ <testsuite name="apm-agent-python-docs" errors="0" failures="0" skipped="1" time="1" tests="1">
31+ <testcase classname="docs" name="Skipped test" time="0">
32+ <skipped/>
33+ </testcase>
34+ </testsuite>
35+ </testsuites>
36+ ENDOFFILE
37+ - if : success() || failure()
38+ name : Upload JUnit Test Results
39+ uses : actions/upload-artifact@v3
40+ with :
41+ name : test-results
42+ path : " docs-python-agent-junit.xml"
You can’t perform that action at this time.
0 commit comments