@@ -38,33 +38,30 @@ jobs:
38
38
steps :
39
39
- uses : actions/checkout@v4
40
40
- name : Install requirements
41
- # Install any extra requirements your extension has here (dev requirements, other extensions etc)
42
41
run : |
43
42
pip install -r requirements.txt
44
43
pip install -r dev-requirements.txt
45
44
pip install --upgrade pytest-rerunfailures
46
- pip install -e 'git+https://github.com/ckan /[email protected] #egg=ckanext-scheming[requirements]'
45
+ pip install -e 'git+https://github.com/CivityNL /[email protected] -civity #egg=ckanext-scheming[requirements]'
47
46
pip install -e 'git+https://github.com/ckan/[email protected] #egg=ckanext-harvest[requirements]'
48
47
pip install -e 'git+https://github.com/ckan/[email protected] #egg=ckanext-dcat[requirements]'
49
48
pip install -r https://raw.githubusercontent.com/ckan/ckanext-dcat/v1.5.1/requirements.txt
50
49
python3 setup.py develop
51
50
- name : Setup extension
52
- # Extra initialization steps
53
51
run : |
54
- # Replace default path to CKAN core config file with the one on the container
55
52
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
56
-
57
53
ckan -c test.ini db init
58
54
- name : Run tests
59
- run : pytest --ckan-ini=test.ini --cov=ckanext.fairdatapoint --disable-warnings ckanext/fairdatapoint
55
+ run : |
56
+ pytest --ckan-ini=test.ini --cov=ckanext.fairdatapoint --disable-warnings ckanext/fairdatapoint
60
57
- name : Generate coverage report
61
- run : coverage xml -o coverage.xml
58
+ run : |
59
+ coverage xml -o coverage.xml
62
60
- name : SonarCloud Scan
63
61
uses : sonarsource/sonarcloud-github-action@v2
64
62
env :
65
63
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
66
64
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
67
-
68
65
- uses : actions/checkout@v4
69
66
- name : REUSE Compliance Check
70
67
uses : fsfe/reuse-action@v4
0 commit comments