From 6d2865240fd48c5712646b17ebd35d673b529476 Mon Sep 17 00:00:00 2001 From: "hailihu@gmail.com" Date: Tue, 26 Nov 2024 21:07:22 +0100 Subject: [PATCH] Fix unit test workflow --- .github/workflows/test.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f1b991..613c801 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,14 +9,14 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: 'Setup jq' - uses: dcarbone/install-jq-action@v3 - - name: 'Check jq' - run: | - which jq - jq --version - - name: Test with shunit2 - uses: sudo-bot/action-shunit2@latest + - name: Checkout shell test framework + uses: actions/checkout@v4 with: - cli: "./tests/test_ada.sh" \ No newline at end of file + repository: kward/shunit2 + path: ${{github.workspace}}/tests/shunit2 + fetch-depth: 1 + - name: Run unit tests + shell: bash + run: | + ./tests/test_ada.sh +