File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Kodi
22on :
3- push :
4- branches :
5- - master
6- pull_request :
7- branches :
8- - master
3+ - pull_request
4+ - push
95jobs :
106 tests :
117 name : Addon checker
2622 run : |
2723 sudo apt-get install libxml2-utils xmlstarlet
2824 python -m pip install --upgrade pip
29- pip install kodi-addon-checker
25+ # FIXME: Requires changes from xbmc/addon-check#217
26+ #pip install kodi-addon-checker
27+ pip install git+git://github.com/dagwieers/addon-check.git@retry-repo#egg=kodi-addon-checker
3028 - name : Remove unwanted files
3129 run : awk '/export-ignore/ { print $1 }' .gitattributes | xargs rm -rf --
3230 working-directory : ${{ github.repository }}
Original file line number Diff line number Diff line change @@ -53,20 +53,15 @@ jobs:
5353 - name : Upload code coverage to CodeCov
5454 uses : codecov/codecov-action@v1
5555 continue-on-error : true
56- - name : Prepare for SonarCloud
57- run : |
58- cat <<EOF >sonar-project.properties
59- sonar.language=python
60- sonar.organization=add-ons
61- sonar.python.coverage.reportPaths=coverage.xml
62- sonar.projectKey=add-ons_plugin.video.vrt.nu
63- sonar.pullrequest.provider=GitHub
64- sonar.sourceEncoding=UTF-8
65- sonar.sources=resources/lib
66- sonar.test.exclusions=tests/**
67- EOF
56+ # FIXME: Requires changes from SonarSource/sonarcloud-github-action#9
6857 - name : Analyze with SonarCloud
69- uses : sonarsource/sonarcloud-github-action@master
58+ uses : dagwieers/sonarcloud-github-action@more-options
59+ with :
60+ organization : add-ons
61+ projectKey : add-ons_plugin.video.vrt.nu
62+ sources : resources/lib/
63+ tests : tests/
64+ verbose : true
7065 env :
7166 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7267 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments