Skip to content

build: add coverity scan in ci#108

Merged
tomghuang merged 1 commit intomasterfrom
feature-check-with-coverity
May 23, 2025
Merged

build: add coverity scan in ci#108
tomghuang merged 1 commit intomasterfrom
feature-check-with-coverity

Conversation

@tomghuang
Copy link
Contributor

Adding Coverity Scan helps reduce risk and lower overall project cost by identifying critical quality defects and potential security vulnerabilities during development.

@tomghuang tomghuang force-pushed the feature-check-with-coverity branch 4 times, most recently from 8e0bacb to c8b78e9 Compare May 23, 2025 15:43
@tomghuang tomghuang requested a review from Copilot May 23, 2025 15:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds a Coverity Scan step to the CI pipeline to catch quality defects and potential security issues early, and updates badges in the README.

  • Introduce a new GitHub Actions workflow (coverity.yml) to perform a Coverity static analysis on PRs and pushes to master
  • Add a Coverity status badge (and a clang-tidy badge) to the README

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
README.md Added clang-tidy and Coverity scan badges
.github/workflows/coverity.yml New workflow to download, build with, and submit results to Coverity Scan

@tomghuang tomghuang force-pushed the feature-check-with-coverity branch from c8b78e9 to 4a9a5f3 Compare May 23, 2025 15:56
@tomghuang tomghuang requested a review from Copilot May 23, 2025 15:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR integrates Coverity Scan into the CI pipeline to catch quality defects and security issues early by adding badges and a new workflow.

  • Added clang-tidy and Coverity badges to README.
  • Introduced a GitHub Actions workflow (coverity.yml) to run Coverity analysis on PRs and pushes to master.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Added badges for clang-tidy and Coverity Scan.
.github/workflows/coverity.yml New workflow to build with Coverity and submit results.
Comments suppressed due to low confidence (1)

README.md:1

  • [nitpick] The Travis CI badge is outdated now that CI uses GitHub Actions. Consider removing or updating this badge to reflect the current build status.
-[![Build Status](https://travis-ci.org/argtable/argtable3.svg?branch=master)](https://travis-ci.org/argtable/argtable3)

@tomghuang tomghuang force-pushed the feature-check-with-coverity branch from 4a9a5f3 to e98b143 Compare May 23, 2025 16:03
@tomghuang tomghuang requested a review from Copilot May 23, 2025 16:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a Coverity Scan integration to help identify critical code defects and potential security vulnerabilities during development.

  • Updated README.md to include badges for clang-tidy and Coverity Scan
  • Added a new GitHub Actions workflow file (.github/workflows/coverity.yml) that downloads the Coverity Build Tool, builds the project under Coverity analysis, and submits the results

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Added badges for clang-tidy and Coverity to provide build status and scan results
.github/workflows/coverity.yml Introduced a new workflow to run Coverity Scan on PRs and pushes to the master branch

@tomghuang tomghuang merged commit e46c752 into master May 23, 2025
3 checks passed
@tomghuang tomghuang deleted the feature-check-with-coverity branch May 23, 2025 16:07
@tomghuang tomghuang mentioned this pull request May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants