From 09e3318ebf9ec784a1e09cc9617b3aeea3bba374 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Fri, 18 Feb 2022 02:27:07 +0000 Subject: [PATCH] temp remove diesel ci --- .github/workflows/linux.yml | 12 ++++++------ databases/diesel/README.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 66d32187..3beb9cad 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 diff --git a/databases/diesel/README.md b/databases/diesel/README.md index 053d6d1e..2368fac0 100644 --- a/databases/diesel/README.md +++ b/databases/diesel/README.md @@ -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