diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index a7f7a60..985dd56 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -32,9 +32,10 @@ jobs: pip3 install -r requirements.txt pip3 install . pip3 install coverage + pip3 install pytest - name: Run Tests run: | - coverage run setup.py test + coverage run -m pytest coverage xml - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master