Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
rzo1 committed Jan 17, 2025
1 parent 0e4150a commit fb843ed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/shell-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,21 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# Install Pester for PowerShell testing
- name: Install Pester
run: |
Install-Module -Name Pester -Force -Scope CurrentUser
Import-Module Pester
shell: pwsh

# Set up JDK 17 for Windows (using Temurin distribution)
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

# Build with Maven (same as the Linux setup)
- name: Build with Maven
run: mvn -V clean install --no-transfer-progress -Pci -DskipTests=true

# Find and Extract OpenNLP Distribution
- name: Find and Extract OpenNLP Distribution
run: |
# Find the first non-src .tar.gz file in the target directory
Expand All @@ -173,13 +169,11 @@ jobs:
echo "OPENNLP_HOME=$env:USERPROFILE\$EXTRACTED_DIR" >> $GITHUB_ENV
echo "$env:USERPROFILE\$EXTRACTED_DIR\bin" >> $GITHUB_PATH
# Verify Extraction
- name: Verify Extraction
run: |
echo "OPENNLP_HOME: $env:OPENNLP_HOME"
dir $env:OPENNLP_HOME\bin
# Run Pester Tests for opennlp.bat
- name: Run Pester Tests
run: |
Invoke-Pester -Script "./opennlp-distr/test/ps/test_opennlp.Tests.ps1" -Output Detailed
Expand Down

0 comments on commit fb843ed

Please sign in to comment.