Skip to content

Commit

Permalink
benchmark static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
juli1 committed Aug 8, 2023
1 parent cb539e3 commit b02a99f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dd-static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]

jobs:
check-quality:
# runs-on: ubuntu-latest-16-cores
runs-on: ubuntu-latest
name: Datadog Static Analyzer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check code meets quality standards
id: datadog-static-analysis
uses: DataDog/datadog-static-analyzer-github-action@v1
with:
dd_app_key: ${{ secrets.DD_APP_KEY }}
dd_api_key: ${{ secrets.DD_API_KEY_STATIC_ANALYSIS }}
dd_service: "integrations-core"
dd_env: "ci"
#cpu_count: 8
6 changes: 6 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rulesets:
- python-code-style
- python-best-practices
- python-inclusive
- python-security

0 comments on commit b02a99f

Please sign in to comment.