mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 03:15:07 +00:00
ci: semgrep to prevent test regression
(cherry picked from commit be4496e4ab)
Co-authored-by: ruthra kumar <ruthra@erpnext.com>
This commit is contained in:
3
.github/workflows/linters.yml
vendored
3
.github/workflows/linters.yml
vendored
@@ -43,3 +43,6 @@ jobs:
|
||||
|
||||
- name: Run Semgrep rules
|
||||
run: semgrep ci --config ./frappe-semgrep-rules/rules --config r/python.lang.correctness
|
||||
|
||||
- name: Semgrep for Test Correctness
|
||||
run: semgrep ci --include=**/test_*.py --config ./semgrep/test-correctness.yml
|
||||
|
||||
Reference in New Issue
Block a user