Skip to content

Commit

Permalink
- Replace code root dir by . to add all python file.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Oct 21, 2024
1 parent 7eb8d24 commit 8af61cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
run: echo "PYTHONPATH=${GITHUB_WORKSPACE}/release_notes_generator/release_notes_generator" >> $GITHUB_ENV

- name: Build and run unit tests
run: pytest --cov=release_notes_generator --cov-report=html tests/ -vv
run: pytest --cov=. --cov-report=html tests/ -vv

- name: Check overall coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ This will execute all tests located in the tests directory.
Code coverage is collected using pytest-cov coverage tool. To run the tests and collect coverage information, use the following command:

```
pytest --cov=release_notes_generator --cov-report=html tests/
pytest --cov=. --cov-report=html tests/
```

This will execute all tests located in the tests directory and generate a code coverage report.
Expand Down

0 comments on commit 8af61cd

Please sign in to comment.