Skip to content

Commit 8138b4e

Browse files
committed
Add running the server with sqlite to CI
1 parent 9e59fee commit 8138b4e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

+19
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,22 @@ jobs:
161161
cargo build --bin site --release
162162
timeout 5s cargo run --bin site --release 'postgresql://postgres:postgres@localhost:5432/postgres' 2>&1 | tee -a log || true
163163
grep -Fxq "Loading complete but no data identified; exiting." log
164+
165+
database-check-sqlite:
166+
name: Database Check (sqlite)
167+
runs-on: ubuntu-latest
168+
169+
steps:
170+
- name: Check out repository code
171+
uses: actions/checkout@v2
172+
173+
- name: Install stable
174+
uses: actions-rs/toolchain@v1
175+
with:
176+
toolchain: stable
177+
178+
- name: Connect to SQLite
179+
run: |
180+
cargo build --bin site --release
181+
timeout 5s cargo run --bin site --release 2>&1 | tee -a log || true
182+
grep -Fxq "Loading complete but no data identified; exiting." log

0 commit comments

Comments
 (0)