Bump pytest-cov from 4.1.0 to 7.0.0 #81
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: blask Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v2 | |
| - name: Setup python 3.7 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.7' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
| architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
| - name: Setup sonarqube | |
| uses: warchant/setup-sonar-scanner@v3 | |
| - name: pip install | |
| run : | | |
| pip install pipenv | |
| pipenv install importlib-metadata | |
| pipenv install python-dotenv | |
| pipenv install --dev | |
| - name: Code coverage | |
| run : pipenv run test | |
| - name: Coveralls GitHub Action | |
| run: pipenv run coveralls --service=github | |
| - name: PyLint | |
| run : pipenv run linter | |
| - name: SonarCloud Scan | |
| uses: SonarSource/sonarcloud-github-action@master | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |