Skip to content

Commit

Permalink
Merge pull request #3 from tom-howlett-sonarsource/change-pokemon
Browse files Browse the repository at this point in the history
added coverage
  • Loading branch information
tom-howlett-sonarsource authored Apr 7, 2024
2 parents 3989641 + a99850c commit 6f49884
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
source = pokedex
branch = True
relative_files = True
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
pytest --cov --cov-report xml:cov.xml --cov-config=.coveragerc
- name: SQ Analyse
uses: sonarsource/sonarqube-scan-action@master
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ __pycache__
.python-version
.scannerwork
.idea
.vscode/
.venv/

0 comments on commit 6f49884

Please sign in to comment.