lemmy/docs/src/contributing_tests.md

21 lines
388 B
Markdown
Raw Normal View History

2020-06-27 13:28:45 +00:00
### Tests
#### Rust
After installing [local development dependencies](contributing_local_development.md), run the
following commands:
2020-06-27 13:28:45 +00:00
```bash
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
./test.sh
2020-06-27 13:28:45 +00:00
```
### Federation
2020-09-21 12:02:40 +00:00
Install the [Docker development dependencies](contributing_docker_development.md), and execute:
```
cd docker/federation
./run-tests.bash
```