Edit CONTRIBUTING
This commit is contained in:
parent
8f42b893a5
commit
dd5808e535
@ -56,15 +56,15 @@ Next, if you want to run integration tests on a live database. We recommand usin
|
|||||||
Running integration tests on a live database:
|
Running integration tests on a live database:
|
||||||
- SQLite
|
- SQLite
|
||||||
```sh
|
```sh
|
||||||
DATABASE_URL="sqlite::memory:" cargo t --all --features default,sqlx-sqlite,runtime-async-std-native-tls
|
DATABASE_URL="sqlite::memory:" cargo test --all --features default,sqlx-sqlite,runtime-async-std-native-tls
|
||||||
```
|
```
|
||||||
- MySQL / MariaDB
|
- MySQL / MariaDB
|
||||||
```sh
|
```sh
|
||||||
DATABASE_URL="mysql://root:root@localhost" cargo t --all --features default,sqlx-mysql,runtime-async-std-rustls
|
DATABASE_URL="mysql://root:root@localhost" cargo test --all --features default,sqlx-mysql,runtime-async-std-rustls
|
||||||
```
|
```
|
||||||
- PostgreSQL
|
- PostgreSQL
|
||||||
```sh
|
```sh
|
||||||
DATABASE_URL="postgres://root:root@localhost" cargo t --all --features default,sqlx-postgres,runtime-async-std-native-tls
|
DATABASE_URL="postgres://root:root@localhost" cargo test --all --features default,sqlx-postgres,runtime-async-std-native-tls
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running `sea-orm-cli` from source code
|
### Running `sea-orm-cli` from source code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user