Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,12 @@ jobs:
- name: Connect to PostgreSQL
run: |
timeout 5s ./target/debug/site 'postgresql://postgres:postgres@localhost:5432/postgres' 2>&1 | tee -a log || true
grep -Fxq "Loading complete but no data identified; exiting." log
grep -Fxq "Warning: loading complete but no data identified." log

- name: Connect to SQLite
run: |
timeout 5s ./target/debug/site 2>&1 | tee -a log || true
grep -Fxq "Loading complete but no data identified; exiting." log
grep -Fxq "Warning: loading complete but no data identified." log

- name: Build Postgres to SQLite exporter
run: cargo build --bin postgres-to-sqlite
Expand Down
3 changes: 1 addition & 2 deletions site/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ async fn main() {
let commits = res.index.load().commits().len();
let artifacts = res.index.load().artifacts().count();
if commits + artifacts == 0 {
eprintln!("Loading complete but no data identified; exiting.");
std::process::exit(1);
eprintln!("Warning: loading complete but no data identified.");
}
eprintln!("Loading complete; found {} artifacts", commits + artifacts);
eprintln!(
Expand Down
Loading