@@ -48,20 +48,36 @@ jobs:
48
48
pip install -r requirements.txt
49
49
pip install -r dev-requirements.txt
50
50
pip install -e .
51
- - name : Setup CKAN extensions (harvest, scheming, dcat)
51
+ - name : Setup CKAN extensions (harvest, scheming, dcat, dataset-series, fluent )
52
52
run : |
53
53
# Harvest v1.6.1 from GitHub
54
54
git clone https://github.com/ckan/ckanext-harvest
55
55
cd ckanext-harvest
56
56
git checkout tags/v1.6.1
57
57
pip install -e .
58
58
pip install -r requirements.txt
59
-
60
- # Scheming (Civity fork)
61
- pip install -e 'git+https://github.com/CivityNL/[email protected] #egg=ckanext-scheming[requirements]'
62
-
63
- # DCAT v2.4.0 from PyPI
64
- pip install ckanext-dcat==2.4.0
59
+ cd ..
60
+
61
+ # Scheming release 3.1.0
62
+ pip install -e 'git+https://github.com/ckan/[email protected] #egg=ckanext-scheming[requirements]'
63
+
64
+ # DCAT extension maintained for the GDI user portal
65
+ pip install -e 'git+https://github.com/GenomicDataInfrastructure/[email protected] #egg=ckanext-dcat'
66
+ if [ -f "${PIP_SRC}/ckanext-dcat/requirements.txt" ]; then
67
+ pip install -r "${PIP_SRC}/ckanext-dcat/requirements.txt"
68
+ fi
69
+
70
+ # Dataset series extension
71
+ pip install -e 'git+https://github.com/GenomicDataInfrastructure/[email protected] #egg=ckanext-dataset-series'
72
+ if [ -f "${PIP_SRC}/ckanext-dataset-series/requirements.txt" ]; then
73
+ pip install -r "${PIP_SRC}/ckanext-dataset-series/requirements.txt"
74
+ fi
75
+
76
+ # Fluent extension for multilingual support
77
+ pip install -e 'git+https://github.com/ckan/ckanext-fluent.git#egg=ckanext-fluent'
78
+ if [ -f "${PIP_SRC}/ckanext-fluent/requirements.txt" ]; then
79
+ pip install -r "${PIP_SRC}/ckanext-fluent/requirements.txt"
80
+ fi
65
81
- name : Setup extension
66
82
run : |
67
83
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
74
90
coverage xml -o coverage.xml
75
91
- name : Install unzip
76
92
run : apt-get update && apt-get install -y unzip
77
- - name : SonarCloud Scan
78
- uses : sonarsource/sonarcloud-github -action@v5
93
+ - name : Sonar scan
94
+ uses : SonarSource/sonarqube-scan -action@v6
79
95
env :
80
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
96
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
97
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
98
+ SONAR_HOST_URL : https://sonarcloud.io
0 commit comments