Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Jul 22, 2024
1 parent 42cb014 commit df04974
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
COUCHDB_USER: admin
COUCHDB_PASSWORD: abc123
image: couchdb:2.2.0
options: >
--health-cmd "curl -sSf http://localhost:5984/_up"
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- uses: actions/checkout@v4
- name: Set up Go
Expand All @@ -30,7 +35,10 @@ jobs:
- name: Prepare CouchDB
run: |
export KIVIK_TEST_DSN_COUCH22=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984/
sleep 60
while ! curl -sSf http://couchdb:5984/; do
echo "Waiting for CouchDB to be ready..."
sleep 5
done
./script/complete_couch2.sh ${KIVIK_TEST_DSN_COUCH22}
- name: Run tests
run: |
Expand Down

0 comments on commit df04974

Please sign in to comment.