File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147
147
- name : Build with Maven
148
148
run : mvn -V clean install --no-transfer-progress -Pci -DskipTests=true
149
149
150
- - name : Find and Extract OpenNLP Distribution
150
+ - name : Run Pester Tests
151
151
run : |
152
152
# Find the first non-src .tar.gz file in the target directory
153
153
$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:
172
172
# Set the environment variable for future steps
173
173
echo "OPENNLP_HOME=$OPENNLP_HOME_PATH" >> $GITHUB_ENV
174
174
echo "$OPENNLP_HOME_PATH\bin" >> $GITHUB_PATH
175
-
176
-
177
- - name : Verify Extraction
178
- run : |
179
- # Print the OPENNLP_HOME and check if the 'bin' directory exists
180
- echo "OPENNLP_HOME: $env:OPENNLP_HOME"
181
- dir "$env:OPENNLP_HOME\bin"
182
-
183
- - name : Run Pester Tests
184
- run : |
175
+
185
176
Invoke-Pester -Script "./opennlp-distr/test/ps/test_opennlp.Tests.ps1" -Output Detailed
186
177
shell : pwsh
187
178
env :
188
- JAVA_HOME : ${{ env.JAVA_HOME }}
189
- OPENNLP_HOME : ${{ env.OPENNLP_HOME }}
179
+ JAVA_HOME : ${{ env.JAVA_HOME }}
You can’t perform that action at this time.
0 commit comments