Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Coverity scan #1455

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Add Coverity scan #1455

wants to merge 38 commits into from

Conversation

omalyshe
Copy link
Contributor

@omalyshe omalyshe commented Jul 22, 2024

Description

This adds the Coverity scan for the project https://scan.coverity.com/projects/oneapi-src-onetbb.
It also add the badge to README file.

There is a limitation for the # of runs per day/week. For oneTBB project the following is applicable: Up to 21 builds per week, with a maximum of 3 builds per day, for projects with 100K to 500K lines of code
So, we'll run only on merge to master.

Fixes # - issue number(s) if exists

Type of change

Choose one or multiple, leave empty if none of the other choices apply

Add a respective label(s) to PR if you have permissions

  • bug fix - change that fixes an issue
  • new feature - change that adds functionality
  • tests - change in tests
  • infrastructure - change in infrastructure and CI
  • documentation - documentation update

Tests

  • added - required for new features and some bug fixes
  • not needed

Documentation

  • updated in # - add PR number
  • needs to be updated
  • not needed

Breaks backward compatibility

  • Yes
  • No
  • Unknown

Notify the following users

List users with @ to send notifications

Other information

@omalyshe omalyshe marked this pull request as draft July 22, 2024 10:14
@omalyshe omalyshe changed the title Dev/omalyshe/coverity Add Coverity scan Nov 12, 2024
@omalyshe omalyshe marked this pull request as ready for review November 18, 2024 12:09
run: |
curl https://scan.coverity.com/download/cxx/linux64 --output ${GITHUB_WORKSPACE}/cov-linux64-tool.tar.gz \
--data "token=${{secrets.COVERITY_TOKEN}}&project=${{env.COVERITY_PROJECT}}"
ls -l ${GITHUB_WORKSPACE}
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like was used for debug.

Suggested change
ls -l ${GITHUB_WORKSPACE}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants