Skip to content

Release/2.14.4

Release/2.14.4 #771

Workflow file for this run

name: Sonar Scan
on: [push, pull_request]
jobs:
sonar:
name: Sonar Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/[email protected]
with:
python-version: 3.9
- run: pip install -r requirements.txt
- run: pip install -e ".[dev]"
- run: pytest --cov=yoti_python_sdk yoti_python_sdk/tests --cov-report=xml:coverage-reports/coverage-new.xml
- run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage-reports/coverage-new.xml
- uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}