You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2026/07/08 05:57:05 UTC
(opennlp) branch OPENNLP-1881-Fix-Pester-Invoke-Path-for-v6 created (now d259d1449)
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch OPENNLP-1881-Fix-Pester-Invoke-Path-for-v6
in repository https://gitbox.apache.org/repos/asf/opennlp.git
at d259d1449 OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
This branch includes the following new commits:
new d259d1449 OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opennlp) 01/01: OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
Posted by rz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch OPENNLP-1881-Fix-Pester-Invoke-Path-for-v6
in repository https://gitbox.apache.org/repos/asf/opennlp.git
commit d259d144983cfcfebcd6a8742d064a1f87ddfe3f
Author: Richard Zowalla <ri...@iao.fraunhofer.de>
AuthorDate: Wed Jul 8 07:56:16 2026 +0200
OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
Pester v6 removed the legacy -Script parameter from Invoke-Pester,
breaking the Windows shell-tests job since Install-Module always
pulls the latest release. Pin the version and switch to -Path so the
job stays reproducible across future Pester releases.
---
.github/workflows/maven.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 81f4959bf..7e520340b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -194,7 +194,7 @@ jobs:
- name: Install Pester
run: |
- Install-Module -Name Pester -Force -Scope CurrentUser
+ Install-Module -Name Pester -RequiredVersion 6.0.0 -Force -Scope CurrentUser
Import-Module Pester
shell: pwsh
@@ -236,7 +236,7 @@ jobs:
$env:OPENNLP_HOME = $OPENNLP_HOME_PATH
$env:PATH = "$env:OPENNLP_HOME\bin;$env:PATH"
- Invoke-Pester -Script "./opennlp-distr/src/test/ps/test_opennlp.Tests.ps1" -Output Detailed
+ Invoke-Pester -Path "./opennlp-distr/src/test/ps/test_opennlp.Tests.ps1" -Output Detailed
shell: pwsh
env:
JAVA_HOME: ${{ env.JAVA_HOME }}