Skip to content

Commit

Permalink
Fix code coverage tool
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Aug 13, 2024
1 parent f645e6d commit b7589f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
-Dsonar.tests=tests/
-Dsonar.projectName=${{ github.repository }}
-Dsonar.projectVersion=${{ env.software_version }}
-Dsonar.python.version=3.9,3.10
-Dsonar.python.version=3.10,3.11
- name: Run Snyk as a blocking step
uses: snyk/actions/python-3.10@master
env:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ harmony = ["harmony-service-lib"]
[tool.poetry.scripts]
net2cog_harmony = 'net2cog.netcdf_convert_harmony:main'

[tool.coverage.run]
source = ['net2cog']
relative_files = true

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit b7589f0

Please sign in to comment.