Skip to content

Commit 989d775

Browse files
authored
coverity.yml: Shell may only be a single command
1 parent 744406b commit 989d775

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/coverity.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ jobs:
5050
message(FATAL_ERROR "Could not run with ${CMAKE_COMMAND}: Got ${error_message} - ${result}")
5151
endif()
5252
- name: Build
53-
shell: |
54-
export PATH=`pwd`/cov-analysis-linux64/bin:$PATH
55-
cmake -P {0}
53+
shell: cmake -P {0}
5654
run: |
5755
execute_process(
58-
COMMAND cov-build --dir cov-int ${CMAKE_COMMAND} --build build
56+
COMMAND cov-analysis-linux64/bin/cov-build --dir cov-int ${CMAKE_COMMAND} --build build
5957
RESULT_VARIABLE result
6058
ERROR_VARIABLE error_message
6159
)
@@ -75,4 +73,4 @@ jobs:
7573
https://scan.coverity.com/builds?project=cycfi%2Felements
7674
env:
7775
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
78-
EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
76+
EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}

0 commit comments

Comments
 (0)