Skip to content

Commit 30442d4

Browse files
committed
Updates Sonar, Readme
1 parent b7ad7c6 commit 30442d4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ jobs:
5454
- name: Run tests
5555
run: tox
5656

57+
- name: SonarCloud Scan
58+
uses: SonarSource/sonarcloud-github-action@master
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
61+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DSP - Disciplined Saddle Programming
2-
[![build](https://github.com/cvxgrp/dsp/actions/workflows/build.yml/badge.svg)](https://github.com/cvxgrp/dsp/actions/workflows/build.yml)
3-
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=dsp&metric=coverage)](https://sonarcloud.io/summary/new_code?id=dsp)
2+
[![build](https://github.com/cvxgrp/dsp/actions/workflows/test.yml/badge.svg)](https://github.com/cvxgrp/dsp/actions/workflows/test.yml)
3+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=cvxgrp_dsp&metric=coverage)](https://sonarcloud.io/summary/new_code?id=cvxgrp_dsp)
44

55
A CVXPY extension for Disciplined Saddle Programming.
66
DSP allows solving convex-concave saddle point problems, and more generally

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sonar.projectKey=dsp
1+
sonar.projectKey=cvxgrp_dsp
22
sonar.organization=cvxgrp
33
sonar.sources=dsp
44
sonar.language=py

0 commit comments

Comments
 (0)