File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 55
55
56
56
ckan -c test.ini db init
57
57
- name : Run tests
58
- run : pytest --ckan-ini=test.ini --cov=ckanext.fairdatapoint --disable-warnings ckanext/fairdatapoint
58
+ run : pytest --ckan-ini=test.ini --cov=ckanext.fairdatapoint --disable-warnings ckanext/fairdatapoint
59
+ - name : Generate coverage report
60
+ run : coverage xml -o coverage.xml
61
+ - name : SonarCloud Scan
62
+ uses : sonarsource/sonarcloud-github-action@master
63
+ env :
64
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
65
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
66
+
59
67
- uses : actions/checkout@v4
60
68
- name : REUSE Compliance Check
61
69
uses : fsfe/reuse-action@v2
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ SPDX-License-Identifier: CC-BY-4.0
8
8
9
9
[ ![ REUSE status] ( https://api.reuse.software/badge/github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint )] ( https://api.reuse.software/info/github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint )
10
10
[ ![ Tests] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/test.yml/badge.svg )] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/test.yml )
11
+ [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=GenomicDataInfrastructure_gdi-userportal-ckanext-fairdatapoint&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=GenomicDataInfrastructure_gdi-userportal-ckanext-fairdatapoint )
11
12
[ ![ Release] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/release.yml/badge.svg )] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/release.yml )
12
13
[ ![ Main] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/main.yml/badge.svg )] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/actions/workflows/main.yml )
13
14
[ ![ GitHub contributors] ( https://img.shields.io/github/contributors/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint )] ( https://github.com/GenomicDataInfrastructure/gdi-userportal-ckanext-fairdatapoint/graphs/contributors )
Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024 LNDS
2
+ #
3
+ # SPDX-License-Identifier: CC-BY-4.0
4
+
5
+ sonar.projectKey =GenomicDataInfrastructure_gdi-userportal-ckanext-fairdatapoint
6
+ sonar.organization =genomicdatainfrastructure
7
+ sonar.sources =ckanext/fairdatapoint
8
+ sonar.exclusions =**/tests/**
9
+ sonar.tests =ckanext/fairdatapoint/tests
10
+ sonar.test.inclusions =ckanext/fairdatapoint/tests/**/*.py
11
+ sonar.python.coverage.reportPaths =coverage.xml
12
+ sonar.python.version =3.10
Original file line number Diff line number Diff line change 1
1
; SPDX-FileCopyrightText: 2024 Stichting Health-RI
2
2
;
3
- ; SPDX-License-Identifier: Apache-2 .0
3
+ ; SPDX-License-Identifier: CC-BY-4 .0
4
4
5
5
6
6
[DEFAULT]
You can’t perform that action at this time.
0 commit comments