This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch OPENNLP-1688 in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/OPENNLP-1688 by this push: new 28fb2d41 x 28fb2d41 is described below commit 28fb2d41dbf3474e843d8fd6f0d8771a62869d4d Author: Richard Zowalla <r...@apache.org> AuthorDate: Fri Jan 17 12:42:49 2025 +0100 x --- .github/workflows/shell-tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/shell-tests.yml b/.github/workflows/shell-tests.yml index 28662b31..44c4fa2c 100644 --- a/.github/workflows/shell-tests.yml +++ b/.github/workflows/shell-tests.yml @@ -14,10 +14,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install Bats (Testing Framework) - run: | - sudo apt-get update - sudo apt-get install -y bats + - name: Setup Bats and bats libs + id: setup-bats + uses: bats-core/bats-action@3.0.0 - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -57,6 +56,9 @@ jobs: - name: Run Bats Tests run: | bats ./opennlp-distr/src/test/sh + shell: bash env: JAVA_HOME: ${{ env.JAVA_HOME }} OPENNLP_HOME: ${{ env.OPENNLP_HOME }} + BATS_LIB_PATH: ${{ steps.setup-bats.outputs.lib-path }} + TERM: xterm