aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a2ec6aa..3e4d8b4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,7 +21,12 @@ jobs:
rustup default stable
- name: Run tests
- run: cargo test --verbose
+ env:
+ MIHI_DATABASE: test.sqlite3
+ run: |
+ mkdir -p $HOME/.config/mihi
+ cp testdata/test.sqlite3 $HOME/.config/mihi/
+ cargo test --verbose
- name: Run Clippy
run: cargo clippy --all-targets --all-features