Skip to content

Commit 7db5a2c

Browse files
committed
x
1 parent c02ca85 commit 7db5a2c

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/shell-tests.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
- name: Build with Maven
148148
run: mvn -V clean install --no-transfer-progress -Pci -DskipTests=true
149149

150-
- name: Find and Extract OpenNLP Distribution
150+
- name: Run Pester Tests
151151
run: |
152152
# Find the first non-src .tar.gz file in the target directory
153153
$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:
172172
# Set the environment variable for future steps
173173
echo "OPENNLP_HOME=$OPENNLP_HOME_PATH" >> $GITHUB_ENV
174174
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+
185176
Invoke-Pester -Script "./opennlp-distr/test/ps/test_opennlp.Tests.ps1" -Output Detailed
186177
shell: pwsh
187178
env:
188-
JAVA_HOME: ${{ env.JAVA_HOME }}
189-
OPENNLP_HOME: ${{ env.OPENNLP_HOME }}
179+
JAVA_HOME: ${{ env.JAVA_HOME }}

0 commit comments

Comments
 (0)