From 52d990fd16e71f3ead763976036bc708605ff4b2 Mon Sep 17 00:00:00 2001 From: Casey Waldren Date: Fri, 15 Mar 2024 16:44:57 -0700 Subject: [PATCH] make ci pass -offline mode --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e67ed55..b8d8001 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,8 +30,7 @@ jobs: run: go build ./cmd/ingest - name: Sanity test run: | - sqlite3 test.sqlite3 < ./schemas/sdk_metadata.sql - ./ingest -db test.sqlite3 -metadata ./metadata/launchdarkly_js-core.json -repo launchdarkly/js-core + ./ingest -db test.sqlite3 -create -offline -repo launchdarkly/js-core -metadata ./metadata/launchdarkly_js-core.json length=$(sqlite3 -json test.sqlite3 "SELECT * from sdk_repos;" | jq '. | length') if [ $length -ne 6 ]; then echo "Expected 6 rows in sdk_repos, got $length"