Skip to content

Commit

Permalink
chore: python versio nor mandator
Browse files Browse the repository at this point in the history
  • Loading branch information
terovirtanen committed Oct 1, 2024
1 parent 03cc1d5 commit 4d9f264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-api-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
pytest:
name: Coding test - pytest
runs-on: ubuntu-latest
services:
postgres:
Expand Down Expand Up @@ -86,6 +87,7 @@ jobs:
run: |
pwd
ls -al
cat .coverage
# Without this workaround Sonar reports a warning about an incorrect source path
- name: Override coverage report source path for Sonar
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.projectKey=atv-api
sonar.organization=city-of-helsinki
sonar.python.version=3.11
sonar.python.coverage.reportPaths=coverage.xml
sonar.python.coverage.reportPaths=.coverage
sonar.test.inclusions=**/tests/**/*
sonar.exclusions=**/tests/**/*

0 comments on commit 4d9f264

Please sign in to comment.