Skip to content

Commit

Permalink
Update Radon analysis workflow to report on changed files only
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Nov 20, 2024
1 parent c50c9dc commit 49a2427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/radon-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
run: pip install radon
- name: Create Radon's reports
run: |
radon cc src/ -j >cc.json
radon mi src/ -j >mi.json
radon hal src/ -j >hal.json
radon cc $(git diff --name-only origin/2.0) -j >cc.json
radon mi $(git diff --name-only origin/2.0) -j >mi.json
radon hal $(git diff --name-only origin/2.0) -j >hal.json
- name: Comment the results on the PR
uses: Libra-foundation/[email protected]
with:
Expand Down

0 comments on commit 49a2427

Please sign in to comment.