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:
committed by
GitHub
parent
c3407627d0
commit
75c19eb5c9
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user