Skip to content

Commit

Permalink
add report file and fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Konboi committed Aug 8, 2024
1 parent 40e6e50 commit 6eac82a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/record-build-and-test-results-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ env:
jobs:
tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: launchable-test-result
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Record build and test results action
uses: launchableinc/record-build-and-test-results-action@support-flavor-and-test-session-name-options
with:
report_path: test-results.xml
report_path: launchable-test-result/report.xml
test_runner: pytest
if: always()
env:
Expand Down
7 changes: 7 additions & 0 deletions launchable-test-result/test-results.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<testsuites>
<testsuite name="pytest" launchable_subset_command="launchable subset --build f1fab5c --target 30% pytest" launchable_subset_input="pytest/tests/test_func5.py::test_func5[3+5-8],pytest/tests/test_func5.py::test_func5[2+4-6],pytest/tests/test_func5.py::test_func5[6*9-54],pytest/tests/test_func5.py::test_foo[2-0],pytest/tests/test_func5.py::test_foo[2-1],pytest/tests/test_func5.py::test_foo[3-0],pytest/tests/test_func5.py::test_foo[3-1],pytest/tests/test_funcs1.py::test_func1,pytest/tests/test_funcs1.py::test_func2,pytest/tests/test_funcs2.py::test_func3,pytest/tests/test_funcs2.py::test_func4,pytest/tests/test_mod.py::TestClass::test__can_print_aaa,pytest/tests/fooo/test_func4.py::test_func6" launchable_raw_subset_response="pytest/tests/test_funcs2.py::test_func3&#10;pytest/tests/test_func5.py::test_foo[2-0]&#10;pytest/tests/test_func5.py::test_func5[2+4-6]&#10;">
<testcase classname="pytest.tests.test_func5" name="test_func5[2+4-6]" time="0.0002689579999999303" setup_time="0.0005939169999997773" teardown_time="0.00020679100000009498" launchable_test_path="file=pytest/tests/test_func5.py#testcase=test_func5[2+4-6]" launchable_subset_category="subset"></testcase>
<testcase classname="pytest.tests.test_func5" name="test_foo[2-0]" time="1.0058546250000002" setup_time="0.00019029200000009183" teardown_time="0.0006497500000000045" launchable_test_path="file=pytest/tests/test_func5.py#testcase=test_foo[2-0]" launchable_subset_category="subset"></testcase>
<testcase classname="pytest.tests.test_funcs2" name="test_func3" time="9.187500000007454e-05" setup_time="0.00023500000000020727" teardown_time="6.924999999990966e-05" launchable_test_path="file=pytest/tests/test_funcs2.py#testcase=test_func3" launchable_subset_category="subset"></testcase>
</testsuite>
</testsuites>

0 comments on commit 6eac82a

Please sign in to comment.