Skip to content

Commit

Permalink
Adjustments for new SonarCloud properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
madworx committed Sep 14, 2020
1 parent fb566ac commit 3b86745
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.eggs
build
dist
.pytest_cache
docs
Dockerfile
*~
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ COPY --from=build \
/build/dist/*.whl \
/build/dist/*.tar.gz \
/build/docs/*.html \
/build/build/coverage.xml \
/build/build/nosetests.xml \
/build/build \
/build/

RUN pip install /build/*.whl
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
setup_requires=['setuptools_scm', 'robotframework<4'] + pytest_runner,
tests_require=['pytest-runner', 'pytest-cov', 'pytest-mock', 'coverage',
'pytest-pylint', 'pytest-html', 'setuptools_scm',
'robotframework<4','mock'] + special_test_requires,
'robotframework<4', 'mock', 'natsort'],
test_suite='tests',
cmdclass = {'build_rf_docs': setup_command.BuildLibDoc},
zip_safe = True,
Expand Down
6 changes: 4 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
sonar.host.url=https://sonarcloud.io
sonar.organization=madworx
sonar.projectKey=robotframework-kicadlibrary
sonar.sources=./src
sonar.sources=src
sonar.tests=src/tests
sonar.projectName=robotframework-kicadlibrary
sonar.exclusions=src/KiCadLibrary/kicad_library_utils/**,src/robotdoc/**,src/tests/**,src/KiCadLibrary/__main__.py
sonar.exclusions=src/KiCadLibrary/kicad_library_utils/**,src/robotdoc/**,src/KiCadLibrary/__main__.py,src/tests/**
sonar.python.coverage.reportPaths=build/coverage.xml
sonar.python.xunit.reportPath=build/nosetests.xml

0 comments on commit 3b86745

Please sign in to comment.