This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch OPENNLP-1688
in repository https://gitbox.apache.org/repos/asf/opennlp.git


The following commit(s) were added to refs/heads/OPENNLP-1688 by this push:
     new 7db5a2cd x
7db5a2cd is described below

commit 7db5a2cdee23e51ad735ae0e4a64b68a78f04f53
Author: Richard Zowalla <r...@apache.org>
AuthorDate: Fri Jan 17 13:21:43 2025 +0100

    x
---
 .github/workflows/shell-tests.yml | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/shell-tests.yml 
b/.github/workflows/shell-tests.yml
index 94867f54..480f8e06 100644
--- a/.github/workflows/shell-tests.yml
+++ b/.github/workflows/shell-tests.yml
@@ -147,7 +147,7 @@ jobs:
       - name: Build with Maven
         run: mvn -V clean install --no-transfer-progress -Pci -DskipTests=true
 
-      - name: Find and Extract OpenNLP Distribution
+      - name: Run Pester Tests
         run: |
           # Find the first non-src .tar.gz file in the target directory
           $TAR_FILE = Get-ChildItem -Path opennlp-distr/target -Filter 
"*.tar.gz" | Where-Object { $_.Name -notlike "*-src*" } | Select-Object -First 1
@@ -172,18 +172,8 @@ jobs:
           # Set the environment variable for future steps
           echo "OPENNLP_HOME=$OPENNLP_HOME_PATH" >> $GITHUB_ENV
           echo "$OPENNLP_HOME_PATH\bin" >> $GITHUB_PATH
-          
-
-      - name: Verify Extraction
-        run: |
-            # Print the OPENNLP_HOME and check if the 'bin' directory exists
-            echo "OPENNLP_HOME: $env:OPENNLP_HOME"
-            dir "$env:OPENNLP_HOME\bin"
-
-      - name: Run Pester Tests
-        run: |
+  
           Invoke-Pester -Script 
"./opennlp-distr/test/ps/test_opennlp.Tests.ps1" -Output Detailed
         shell: pwsh
         env:
-          JAVA_HOME: ${{ env.JAVA_HOME }}
-          OPENNLP_HOME: ${{ env.OPENNLP_HOME }}
\ No newline at end of file
+          JAVA_HOME: ${{ env.JAVA_HOME }}
\ No newline at end of file

Reply via email to