Skip to content

Commit

Permalink
make ci pass -offline mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Mar 15, 2024
1 parent 568816b commit 52d990f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 52d990f

Please sign in to comment.