Skip to content

Commit

Permalink
Update Lt condition
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulrabbani00 committed May 27, 2022
1 parent 10460f4 commit 8593cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ jobs:
shell: bash
run: |
rows=$(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" exec access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT COUNT(*) FROM eth.header_cids")
[[ "$rows" -lt "0" ]] && echo "We could not find any rows in postgres table." && (exit 1)
[[ "$rows" -lt "1" ]] && echo "We could not find any rows in postgres table." && (exit 1)
echo $rows
docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" exec access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT * FROM eth.header_cids"

0 comments on commit 8593cfd

Please sign in to comment.