|
93 | 93 | PYTEST_OPTS: ${{ env.PYTEST_OPTS_BASE }} |
94 | 94 | run: | |
95 | 95 | uv run make check-source BASE_REF="origin/${{ github.base_ref }}" |
| 96 | + - name: Upload test results |
| 97 | + if: always() |
| 98 | + uses: actions/upload-artifact@v4 |
| 99 | + with: |
| 100 | + name: pytest-results-prebuild |
| 101 | + path: report.xml |
| 102 | + if-no-files-found: ignore |
96 | 103 | - name: Check Generated Files have been updated |
97 | 104 | run: uv run make check-gen-updated |
98 | 105 | - name: Check docs |
@@ -315,6 +322,13 @@ jobs: |
315 | 322 | env |
316 | 323 | cat config.vars |
317 | 324 | uv run eatmydata pytest tests/test_downgrade.py -n ${PYTEST_PAR} ${PYTEST_OPTS} |
| 325 | + - name: Upload test results |
| 326 | + if: always() |
| 327 | + uses: actions/upload-artifact@v4 |
| 328 | + with: |
| 329 | + name: pytest-results-check-downgrade-${{ matrix.TEST_DB_PROVIDER }}-${{ matrix.TEST_NETWORK }} |
| 330 | + path: report.xml |
| 331 | + if-no-files-found: ignore |
318 | 332 |
|
319 | 333 | integration: |
320 | 334 | name: Test CLN ${{ matrix.name }} |
@@ -423,6 +437,13 @@ jobs: |
423 | 437 | env |
424 | 438 | cat config.vars |
425 | 439 | VALGRIND=0 uv run eatmydata pytest tests/ -n ${PYTEST_PAR} ${PYTEST_OPTS} |
| 440 | + - name: Upload test results |
| 441 | + if: always() |
| 442 | + uses: actions/upload-artifact@v4 |
| 443 | + with: |
| 444 | + name: pytest-results-integration-${{ matrix.name }} |
| 445 | + path: report.xml |
| 446 | + if-no-files-found: ignore |
426 | 447 |
|
427 | 448 | integration-valgrind: |
428 | 449 | name: Valgrind Test CLN ${{ matrix.name }} |
@@ -493,6 +514,13 @@ jobs: |
493 | 514 | TEST_DEBUG: 1 |
494 | 515 | run: | |
495 | 516 | VALGRIND=1 uv run eatmydata pytest tests/ -n 3 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }} |
| 517 | + - name: Upload test results |
| 518 | + if: always() |
| 519 | + uses: actions/upload-artifact@v4 |
| 520 | + with: |
| 521 | + name: pytest-results-integration-valgrind-${{ matrix.NAME }} |
| 522 | + path: report.xml |
| 523 | + if-no-files-found: ignore |
496 | 524 |
|
497 | 525 | integration-sanitizers: |
498 | 526 | name: Sanitizers Test CLN |
@@ -563,6 +591,13 @@ jobs: |
563 | 591 | - name: Test |
564 | 592 | run: | |
565 | 593 | uv run eatmydata pytest tests/ -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }} |
| 594 | + - name: Upload test results |
| 595 | + if: always() |
| 596 | + uses: actions/upload-artifact@v4 |
| 597 | + with: |
| 598 | + name: pytest-results-integration-sanitizers-${{ matrix.NAME }} |
| 599 | + path: report.xml |
| 600 | + if-no-files-found: ignore |
566 | 601 |
|
567 | 602 | update-docs-examples: |
568 | 603 | name: Update examples in doc schemas (disabled temporarily!) |
@@ -606,6 +641,13 @@ jobs: |
606 | 641 | - name: Test |
607 | 642 | run: | |
608 | 643 | uv run eatmydata make -j $(nproc) check-doc-examples |
| 644 | + - name: Upload test results |
| 645 | + if: always() |
| 646 | + uses: actions/upload-artifact@v4 |
| 647 | + with: |
| 648 | + name: pytest-results-update-docs-examples |
| 649 | + path: report.xml |
| 650 | + if-no-files-found: ignore |
609 | 651 |
|
610 | 652 | min-btc-support: |
611 | 653 | name: Test minimum supported BTC v${{ matrix.MIN_BTC_VERSION }} with ${{ matrix.NAME }} |
@@ -680,6 +722,13 @@ jobs: |
680 | 722 | env |
681 | 723 | cat config.vars |
682 | 724 | VALGRIND=0 uv run eatmydata pytest tests/ -n ${PYTEST_PAR} ${PYTEST_OPTS} |
| 725 | + - name: Upload test results |
| 726 | + if: always() |
| 727 | + uses: actions/upload-artifact@v4 |
| 728 | + with: |
| 729 | + name: pytest-results-min-btc-support-${{ matrix.NAME }} |
| 730 | + path: report.xml |
| 731 | + if-no-files-found: ignore |
683 | 732 |
|
684 | 733 |
|
685 | 734 | gather: |
|
0 commit comments