Skip to content

Commit 1ef8314

Browse files
Fix alert_historian sonarqube bug
1 parent 50bbf0a commit 1ef8314

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/sonar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
- name: Run coverage
145145
run: |
146146
cd alert_historian
147+
export PYTHONPATH="$PYTHONPATH:$GITHUB_WORKSPACE/alert_historian/src"
147148
pytest --cov=src/alert_historian --cov-report=xml:coverage.xml
148149
- name: Scan alert_historian
149150
uses: SonarSource/sonarqube-scan-action@v6.0.0

0 commit comments

Comments
 (0)