Skip to content

Commit

Permalink
Added spotless in sql-test-workflow.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Aug 22, 2023
1 parent 72c3fc4 commit 7b58c0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/sql-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ jobs:
- name: Run tests
id: tests
run: |
# Spotless
./gradlew :opensearch:spotlessCheck || echo "* Spotless failed for opensearch/src" > report.log
./gradlew :sql:spotlessCheck || echo "* Spotless failed for sql/src" >> report.log
./gradlew :ppl:spotlessCheck || echo "* Spotless failed for ppl/src" >> report.log
./gradlew :core:spotlessCheck || echo "* Spotless failed for core/test" >> report.log
./gradlew :common:spotlessCheck || echo "* Spotless failed for common/test" >> report.log
./gradlew :legacy:spotlessCheck || echo "* Spotless failed for legacy/src" >> report.log
./gradlew :protocol:spotlessCheck || echo "* Spotless failed for protocol/src" >> report.log
./gradlew :opensearch-sql-plugin:spotlessCheck || echo "* Spotless failed for plugin/src" >> report.log
./gradlew :integ-test:spotlessCheck || echo "* Spotless failed for integ-test/src" >> report.log
# Unit tests
./gradlew :opensearch:test || echo "* Unit tests failed for opensearch" >> report.log
./gradlew :ppl:test || echo "* Unit tests failed for sql" >> report.log
Expand Down

0 comments on commit 7b58c0a

Please sign in to comment.