File tree 5 files changed +51
-28
lines changed
5 files changed +51
-28
lines changed Original file line number Diff line number Diff line change 37
37
id : get-modified-packages
38
38
uses : autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal
39
39
40
- - name : Build and test
40
+ - name : Build
41
41
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
42
- uses : autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal
42
+ uses : autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
43
+ with :
44
+ rosdistro : galactic
45
+ target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
46
+ build-depends-repos : build_depends.repos
47
+
48
+ - name : Test
49
+ if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
50
+ uses : autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
43
51
with :
44
52
rosdistro : galactic
45
53
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
Original file line number Diff line number Diff line change @@ -28,28 +28,28 @@ jobs:
28
28
id : get-modified-packages
29
29
uses : autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal
30
30
31
- - name : Build and test
31
+ - name : Build
32
32
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
33
- uses : autowarefoundation/autoware-github-actions/colcon-build-and-test @tier4/proposal
33
+ uses : autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
34
34
with :
35
35
rosdistro : galactic
36
36
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
37
37
build-depends-repos : build_depends.repos
38
38
39
- - name : Check the existence of coverage files
40
- id : check-file-existence
41
- uses : autowarefoundation/autoware-github-actions/check-file-existence@tier4/proposal
39
+ - name : Test
40
+ id : test
41
+ if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
42
+ uses : autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
42
43
with :
43
- files : |
44
- lcov/total_coverage.info
45
- coveragepy/.coverage
46
- condition : or
44
+ rosdistro : galactic
45
+ target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
46
+ build-depends-repos : build_depends.repos
47
47
48
48
- name : Upload coverage to CodeCov
49
- if : ${{ steps.check-file-existence .outputs.exists == 'true ' }}
49
+ if : ${{ steps.test .outputs.coverage-report-files != ' ' }}
50
50
uses : codecov/codecov-action@v2
51
51
with :
52
- files : lcov/total_coverage.info,coveragepy/. coverage
52
+ files : ${{ steps.test.outputs. coverage-report-files }}
53
53
fail_ci_if_error : false
54
54
verbose : true
55
55
Original file line number Diff line number Diff line change 25
25
id : get-self-packages
26
26
uses : autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal
27
27
28
- - name : Build and test
28
+ - name : Build
29
29
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
30
- uses : autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal
30
+ uses : autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
31
+ with :
32
+ rosdistro : galactic
33
+ target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
34
+ build-depends-repos : build_depends.repos
35
+
36
+ - name : Test
37
+ if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
38
+ uses : autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
31
39
with :
32
40
rosdistro : galactic
33
41
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
Original file line number Diff line number Diff line change @@ -27,27 +27,27 @@ jobs:
27
27
id : get-self-packages
28
28
uses : autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal
29
29
30
- - name : Build and test
30
+ - name : Build
31
31
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
32
- uses : autowarefoundation/autoware-github-actions/colcon-build-and-test @tier4/proposal
32
+ uses : autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
33
33
with :
34
34
rosdistro : galactic
35
35
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
36
36
build-depends-repos : build_depends.repos
37
37
38
- - name : Check the existence of coverage files
39
- id : check-file-existence
40
- uses : autowarefoundation/autoware-github-actions/check-file-existence@tier4/proposal
38
+ - name : Test
39
+ if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
40
+ id : test
41
+ uses : autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
41
42
with :
42
- files : |
43
- lcov/total_coverage.info
44
- coveragepy/.coverage
45
- condition : or
43
+ rosdistro : galactic
44
+ target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
45
+ build-depends-repos : build_depends.repos
46
46
47
47
- name : Upload coverage to CodeCov
48
- if : ${{ steps.check-file-existence .outputs.exists == 'true ' }}
48
+ if : ${{ steps.test .outputs.coverage-report-files != ' ' }}
49
49
uses : codecov/codecov-action@v2
50
50
with :
51
- files : lcov/total_coverage.info,coveragepy/. coverage
51
+ files : ${{ steps.test.outputs. coverage-report-files }}
52
52
fail_ci_if_error : false
53
53
verbose : true
Original file line number Diff line number Diff line change 28
28
id : get-self-packages
29
29
uses : autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal
30
30
31
- - name : Build and test
32
- uses : autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal
31
+ - name : Build
32
+ uses : autowarefoundation/autoware-github-actions/colcon-build@tier4/proposal
33
+ with :
34
+ rosdistro : galactic
35
+ target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
36
+ build-depends-repos : build_depends.repos
37
+
38
+ - name : Test
39
+ uses : autowarefoundation/autoware-github-actions/colcon-test@tier4/proposal
33
40
with :
34
41
rosdistro : galactic
35
42
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
You can’t perform that action at this time.
0 commit comments