Skip to content

Commit

Permalink
cover current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Apr 23, 2024
1 parent 9e415d9 commit 937a60d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-python-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ jobs:
run: |
if [ ${{ github.repository_owner_id }} = ${{ env.OCADO_TECH_ORG_ID }} ]
then
pipenv run pytest -n=auto --cov --cov-report=xml:${{ env.COVERAGE_REPORT }} -c=${{ env.PYPROJECT_TOML }} ${{ inputs.source-path }}
pipenv run pytest -n=auto --cov=. --cov-report=xml:${{ env.COVERAGE_REPORT }} -c=${{ env.PYPROJECT_TOML }} ${{ inputs.source-path }}
else
pipenv run pytest -n=auto --cov --cov-fail-under=90 -c=${{ env.PYPROJECT_TOML }} ${{ inputs.source-path }}
pipenv run pytest -n=auto --cov=. --cov-fail-under=90 -c=${{ env.PYPROJECT_TOML }} ${{ inputs.source-path }}
fi
- name: 📈 Upload Coverage Reports to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .submodules/configs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
],
"!python.testing.pytestArgs": [
"-n=auto",
"--cov",
"--cov=.",
"--cov-report=html",
"-c=pyproject.toml",
"."
Expand Down

0 comments on commit 937a60d

Please sign in to comment.