You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/09/21 16:16:28 UTC

[GitHub] [lucene-solr] HoustonPutman commented on a change in pull request #1891: SOLR-14877: Add github action for running SolrJ tests.

HoustonPutman commented on a change in pull request #1891:
URL: https://github.com/apache/lucene-solr/pull/1891#discussion_r492184982



##########
File path: .github/workflows/solrj-test.yml
##########
@@ -0,0 +1,27 @@
+name: SolrJ Tests
+
+on:
+  pull_request:
+    branches:
+      - 'master'
+    paths:
+      - '.github/workflows/solrj-test.yml'
+      - 'solr/solrj/**'
+
+jobs:
+  test:
+    name: Run SolrJ Tests
+
+    runs-on: ubuntu-latest
+
+    steps:
+    # Setup
+    - uses: actions/checkout@v2
+    - name: Set up JDK 11
+      uses: actions/setup-java@v1
+      with:
+        java-version: 11
+    - name: Grant execute permission for gradlew
+      run: chmod +x gradlew
+    - name: Test the SolrJ Package
+      run: ./gradlew solr:solrj:test

Review comment:
       I copied the same format as the precommit action, is there something we need to add to use the right properties?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org