mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
CI: Reorder steps
This commit is contained in:
parent
54579ca227
commit
6362d8ec11
26
.github/workflows/ci.yaml
vendored
26
.github/workflows/ci.yaml
vendored
@ -75,25 +75,12 @@ jobs:
|
||||
uses: rhaschke/industrial_ci@clang-tidy
|
||||
env: ${{ matrix.env }}
|
||||
|
||||
- name: Show clang-tidy warnings
|
||||
if: always() && matrix.env.CLANG_TIDY
|
||||
uses: asarium/clang-tidy-action@v1
|
||||
with:
|
||||
fixesFile: ${{ env.BASEDIR }}/clang-tidy-fixes.yaml
|
||||
|
||||
- name: Upload ici's target_ws/install folder
|
||||
uses: rhaschke/upload-ici-workspace@main
|
||||
if: success() && matrix.env.CLANG_TIDY
|
||||
with:
|
||||
subdir: target_ws/install
|
||||
|
||||
- name: Upload clang-tidy fixes (on failure)
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure() && (steps.ici.outputs.clang_tidy_checks)
|
||||
with:
|
||||
name: clang-tidy-fixes.yaml
|
||||
path: ${{ env.BASEDIR }}/clang-tidy-fixes.yaml
|
||||
|
||||
- name: Upload test artifacts (on failure)
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure() && (steps.ici.outputs.run_target_test || steps.ici.outputs.target_test_results)
|
||||
@ -101,6 +88,19 @@ jobs:
|
||||
name: test-results-${{ matrix.env.IMAGE }}${{ matrix.env.NAME && '-' || ''}}${{ matrix.env.NAME }}
|
||||
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml
|
||||
|
||||
- name: Upload clang-tidy fixes (on failure)
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure() && steps.ici.outputs.clang_tidy_checks
|
||||
with:
|
||||
name: clang-tidy-fixes.yaml
|
||||
path: ${{ env.BASEDIR }}/clang-tidy-fixes.yaml
|
||||
|
||||
- name: Show clang-tidy warnings
|
||||
if: always() && matrix.env.CLANG_TIDY
|
||||
uses: asarium/clang-tidy-action@v1
|
||||
with:
|
||||
fixesFile: ${{ env.BASEDIR }}/clang-tidy-fixes.yaml
|
||||
|
||||
- name: Generate codecov report
|
||||
uses: rhaschke/lcov-action@main
|
||||
if: contains(matrix.env.TARGET_CMAKE_ARGS, '--coverage') && steps.ici.outputs.target_test_results == '0'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user