Skip to content

Commit

Permalink
Add --verbose to debug SQL failure.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed Aug 1, 2024
1 parent f103c00 commit 72ed63a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,15 @@ jobs:
npm run test:spec -- \
--opensearch-insecure \
--opensearch-version=${{ matrix.entry.version }} \
--coverage coverage/test-spec-coverage-${{ matrix.entry.version }}.json
--coverage coverage/test-spec-coverage-${{ matrix.entry.version }}.json \
--verbose
- name: Get Container Logs
if: failure()
run: |
CONTAINER_ID=$(docker ps -aqf "ancestor=opensearchproject/opensearch:${{ matrix.entry.version }}")
echo Dumping logs from $CONTAINER_ID ...
docker logs $CONTAINER_ID
- name: Upload Test Coverage Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 72ed63a

Please sign in to comment.