1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

Add tests to diesel example (#414)

* add tests to diesel example

* add diesel migration to gh workflow

* update diesel gh action

* update diesel gh action

* review #414 diesel tests
This commit is contained in:
Daniel T. Rodrigues
2021-03-01 15:35:02 -03:00
committed by GitHub
parent c3407627d0
commit 75c19eb5c9
5 changed files with 69 additions and 3 deletions

View File

@ -49,6 +49,13 @@ jobs:
with:
redis-version: 6
- name: run diesel migrations
run: |
cargo install diesel_cli
cd database_interactions/diesel
diesel migration run
chmod a+rwx test.db
- name: cargo test
uses: actions-rs/cargo@v1
timeout-minutes: 30