1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

temp remove diesel ci

This commit is contained in:
Rob Ede 2022-02-18 02:27:07 +00:00
parent c73efc7057
commit 09e3318ebf
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 8 additions and 8 deletions

View File

@ -58,12 +58,12 @@ jobs:
with:
redis-version: 6
- name: run diesel migrations
run: |
cargo install diesel_cli
cd databases/diesel
diesel migration run
chmod a+rwx test.db
# - name: run diesel migrations
# run: |
# cargo install diesel_cli --no-default-features --features sqlite
# cd databases/diesel
# diesel migration run
# chmod a+rwx test.db
- name: cargo test
uses: actions-rs/cargo@v1

View File

@ -23,7 +23,7 @@ brew install sqlite3
### Initialize SQLite Database
```sh
cd examples/diesel
cd databases/diesel
cargo install diesel_cli --no-default-features --features sqlite
echo "DATABASE_URL=test.db" > .env
@ -35,7 +35,7 @@ There will now be a database file at `./test.db`.
### Running Server
```sh
cd examples/diesel
cd databases/diesel
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080