mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 21:20:36 +00:00
26 lines
405 B
Markdown
26 lines
405 B
Markdown
|
# Tests
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
* docker
|
||
|
* docker-compose
|
||
|
* python 3
|
||
|
|
||
|
## Run tests
|
||
|
|
||
|
Execute [`test.bash`](test.bash).
|
||
|
|
||
|
## Upgrade python packages
|
||
|
|
||
|
The following will install the newest version of packages in requirements.txt.
|
||
|
|
||
|
``` bash
|
||
|
cat requirements.txt | sed 's/==.*//g' | xargs pip install -U
|
||
|
```
|
||
|
|
||
|
If updates are available --> update and create new version with:
|
||
|
|
||
|
``` bash
|
||
|
pip-chill > requirements.txt
|
||
|
```
|