I am trying to run sonarqube scan in github actions using pytest but not getting unit test count.
here is the github actions code and sonar-project.properties
sonar.projectKey=some_project_key
sonar.python.version=3.9
sonar.terraform.provider.aws.version=4.20.1
sonar.python.coverage.reportPaths=/github/workspace/coverage.xml
# Define the same root directory for sources and tests
sonar.sources=.
sonar.tests=.
# Include test subdirectories in test scope
sonar.test.inclusions=tests/
# Exclude test subdirectories from source scope
sonar.exclusions =tests/
#Include test execution report
sonar.python.xunit.reportPath=/github/workspace/report.xml
sonar.python.xunit.skipDetails=true
but not getting the unit tests count on the dashboard
sonar.projectKey=dummy_project_key
sonar.python.version=3.9
sonar.terraform.provider.aws.version=4.20.1
sonar.python.coverage.reportPaths=/github/workspace/coverage.xml
# Define the same root directory for sources and tests
sonar.sources=.
sonar.tests=.
# Include test subdirectories in test scope
sonar.test.inclusions=tests/
# Exclude test subdirectories from source scope
sonar.exclusions =tests/
#Include test execution report
sonar.python.xunit.reportPath=/github/workspace/report.xml
sonar.python.xunit.skipDetails=true