-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add developer docs and fix release process (#92)
* Add developer docs * Fix Github Action that releases on Pypi * Fix environment name
- Loading branch information
Showing
3 changed files
with
85 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Development | ||
=========== | ||
|
||
|
||
Setup | ||
----- | ||
|
||
**Requirements** | ||
|
||
- `tox <https://tox.wiki>`_ | ||
- `Redis <https://redis.io/>`_ | ||
|
||
|
||
Run tests | ||
--------- | ||
|
||
Run a local Redis: | ||
|
||
:: | ||
|
||
docker run redis -p 6379:6379 | ||
|
||
Run the test suite: | ||
|
||
:: | ||
|
||
tox -v | ||
|
||
For a specific framework or version (see ``tox.ini`` for available environments): | ||
|
||
:: | ||
|
||
tox -e py311-fl22 | ||
|
||
Pass arguments to ``pytest`` using the ``--`` delimiter: | ||
|
||
:: | ||
|
||
tox -e py311-fl22 -- -x tests/flask/test_flask.py | ||
|
||
|
||
Release | ||
------- | ||
|
||
1. Update the changelog in ``docs/changelog.rst`` | ||
2. Tag using `Calver <https://calver.org/>`_ | ||
3. Push tag to Github | ||
4. Create release entry in repository | ||
|
||
A Github Action will be triggered and publish the package to Pypi. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ Contents | |
:maxdepth: 2 | ||
:glob: | ||
|
||
development | ||
authors | ||
changelog | ||
logging | ||
|