Skip to content

Commit

Permalink
Added how to test to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando79513 committed Dec 11, 2023
1 parent 64bfb96 commit e4b5882
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tools/release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Send the release e-mail to:
**_Note:_** You need to be registered to both these mailing lists in order to
be able to send an e-mail to them.


# References

## PPA/Repositories
Expand Down Expand Up @@ -211,3 +212,23 @@ be able to send an e-mail to them.
[semantic versioning]: https://semver.org

[1]: https://lists.ubuntu.com/archives/checkbox-devel/2023-August/000508.html


# Usage

## Testing release tools

These are the steps to run the tests for the release tools:

```bash
# Only run the tests
python -m pytest
# Run the tests and get the coverage
python -m coverage run -m pytest
python -m coverage html
```
If you have `tox` instaled, you can just run

```bash
tox -e py310
``````

0 comments on commit e4b5882

Please sign in to comment.