|
15 | 15 |
|
16 | 16 | permissions: |
17 | 17 | contents: read |
18 | | - checks: write |
19 | | - actions: read |
20 | 18 |
|
21 | 19 | concurrency: |
22 | 20 | group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
@@ -322,7 +320,7 @@ jobs: |
322 | 320 | cd ../../../; make test |
323 | 321 | - name: Upload Tests |
324 | 322 | uses: actions/upload-artifact@v7 |
325 | | - if: success() || failure() |
| 323 | + if: ${{ !cancelled() }} |
326 | 324 | with: |
327 | 325 | name: Trick_${{ matrix.cfg.os }}${{ matrix.cfg.tag }} |
328 | 326 | path: trick_test/*.xml |
@@ -369,7 +367,7 @@ jobs: |
369 | 367 | cd ../../../; make test |
370 | 368 | - name: Upload Tests |
371 | 369 | uses: actions/upload-artifact@v7 |
372 | | - if: success() || failure() |
| 370 | + if: ${{ !cancelled() }} |
373 | 371 | with: |
374 | 372 | name: Trick_macos |
375 | 373 | path: trick_test/*.xml |
@@ -484,44 +482,3 @@ jobs: |
484 | 482 | with: |
485 | 483 | github-token: ${{ secrets.GITHUB_TOKEN }} |
486 | 484 | path-to-lcov: "./coverage.info" |
487 | | - |
488 | | - # ────────────────────────────────────────────────────────────────────────── |
489 | | - # Stage 3: Report results |
490 | | - # ────────────────────────────────────────────────────────────────────────── |
491 | | - |
492 | | - report-linux: |
493 | | - name: Report (${{ matrix.cfg.os }} ${{ matrix.cfg.tag }}) |
494 | | - needs: [test-linux] |
495 | | - if: always() |
496 | | - runs-on: ubuntu-latest |
497 | | - strategy: |
498 | | - fail-fast: false |
499 | | - matrix: |
500 | | - cfg: |
501 | | - - { os: ubuntu, tag: 24.04 } |
502 | | - - { os: oraclelinux, tag: 8 } |
503 | | - - { os: rockylinux, tag: 8 } |
504 | | - - { os: rockylinux, tag: 9 } |
505 | | - - { os: rockylinux, tag: 10 } |
506 | | - steps: |
507 | | - - name: Publish Test Report |
508 | | - uses: dorny/test-reporter@v2 |
509 | | - with: |
510 | | - artifact: Trick_${{ matrix.cfg.os }}${{ matrix.cfg.tag }} |
511 | | - name: Results_Trick_${{ matrix.cfg.os }}${{ matrix.cfg.tag }} |
512 | | - path: "*.xml" |
513 | | - reporter: java-junit |
514 | | - |
515 | | - report-macos: |
516 | | - name: Report (macOS) |
517 | | - needs: [test-macos] |
518 | | - if: always() |
519 | | - runs-on: ubuntu-latest |
520 | | - steps: |
521 | | - - name: Publish Test Report |
522 | | - uses: dorny/test-reporter@v2 |
523 | | - with: |
524 | | - artifact: Trick_macos |
525 | | - name: Results_Trick_macos |
526 | | - path: "*.xml" |
527 | | - reporter: java-junit |
0 commit comments