From 310f1c613167976a960498043d4d79dbcd21b6cc Mon Sep 17 00:00:00 2001 From: Greg Galloway Date: Wed, 19 Jul 2023 15:32:21 -0700 Subject: [PATCH 1/3] Create coverity.yml Initial commit of coverity.yml Signed-off-by: Greg Galloway --- .github/workflows/coverity.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/coverity.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 000000000000..321ee7faf46d --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,32 @@ +name: Coverity Actions +run-name: ${{ github.actor }} is running Coverity. +# yamllint disable-line rule:truthy +on: + push: + branches: + - 'main' + - 'stable-**' + - '**-stable' + pull_request: + branches: + - 'main' + - 'stable-**' + - '**-stable' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + # Allows to call this workflow from other workflows + workflow_call: +jobs: + runs-on: + ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: intel-innersource/frameworks.actions.setup-coverity@v1 + with: + version: 2022.3.1 + - uses: intel-innersource/frameworks.actions.coverity-analysis@v3 + with: + source: pysvtools + html-dir: html_report + fail-if-issues-found: true From 33634b57d8547606d46a20d3106aef6aa5628be9 Mon Sep 17 00:00:00 2001 From: Greg Galloway Date: Wed, 19 Jul 2023 15:34:22 -0700 Subject: [PATCH 2/3] Update coverity.yml Fixed a syntax issue. Signed-off-by: Greg Galloway --- .github/workflows/coverity.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 321ee7faf46d..43de5b03c083 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -18,15 +18,16 @@ on: # Allows to call this workflow from other workflows workflow_call: jobs: - runs-on: - ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: intel-innersource/frameworks.actions.setup-coverity@v1 - with: - version: 2022.3.1 - - uses: intel-innersource/frameworks.actions.coverity-analysis@v3 - with: - source: pysvtools - html-dir: html_report - fail-if-issues-found: true + Run-Coverity-Analysis: + runs-on: + ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: intel-innersource/frameworks.actions.setup-coverity@v1 + with: + version: 2022.3.1 + - uses: intel-innersource/frameworks.actions.coverity-analysis@v3 + with: + source: pysvtools + html-dir: html_report + fail-if-issues-found: true From 7789d0bdca90c556401ddfe6af23ee3af8f736c7 Mon Sep 17 00:00:00 2001 From: Greg Galloway Date: Wed, 19 Jul 2023 15:37:55 -0700 Subject: [PATCH 3/3] Update coverity.yml Changed runs-on to self-hosted. Signed-off-by: Greg Galloway --- .github/workflows/coverity.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 43de5b03c083..039de19d2472 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -20,7 +20,7 @@ on: jobs: Run-Coverity-Analysis: runs-on: - ubuntu-latest + self-hosted steps: - uses: actions/checkout@v3 - uses: intel-innersource/frameworks.actions.setup-coverity@v1