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:59:10 UTC
(opennlp) branch opennlp-2.x-1881-Fix-Pester-Invoke-Path-for-v6 updated (a3b990f16 -> 316840024)
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch opennlp-2.x-1881-Fix-Pester-Invoke-Path-for-v6
in repository https://gitbox.apache.org/repos/asf/opennlp.git
omit a3b990f16 OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
new 316840024 OPENNLP-1881: Pin Pester to 6.0.0 and fix Invoke-Pester -Path param
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (a3b990f16)
\
N -- N -- N refs/heads/opennlp-2.x-1881-Fix-Pester-Invoke-Path-for-v6 (316840024)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.
Summary of changes:
(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-2.x-1881-Fix-Pester-Invoke-Path-for-v6
in repository https://gitbox.apache.org/repos/asf/opennlp.git
commit 3168400243a4f756aa0dc193e22620cd7291860e
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Wed Jul 8 07:56:35 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 0f7d5c405..e418761b9 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 }}