2020-06-27 13:28:45 +00:00
|
|
|
### Tests
|
|
|
|
|
|
|
|
#### Rust
|
|
|
|
|
|
|
|
After installing [local development dependencies](contributing_local_development.md), run the
|
2020-09-15 19:26:47 +00:00
|
|
|
following commands:
|
2020-06-27 13:28:45 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
|
2020-07-10 18:16:42 +00:00
|
|
|
./test.sh
|
2020-06-27 13:28:45 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Federation
|
|
|
|
|
|
|
|
Install the [Docker development dependencies](contributing_docker_development.md), and execute
|
|
|
|
`docker/federation-test/run-tests.sh`
|