From b7894102565e9cdb4ac6777ec15fe11605bb584b Mon Sep 17 00:00:00 2001 From: Brandon Chatham Date: Fri, 20 Dec 2024 15:04:20 -0800 Subject: [PATCH] Changing integration test to use a bats step. --- .github/workflows/integration-test.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 6965b31..7e22686 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -188,10 +188,8 @@ jobs: with: path: eigenlayer-cli - - name: Install dependencies - run: | - sudo apt update - sudo apt install -y less bats + - name: Setup BATS + uses: mig4/setup-bats@v1 - name: Install EigenLayer CLI run: | @@ -207,15 +205,4 @@ jobs: - name: Run User Command Integration Tests run: | - cd eigenlayer-cli/tests/user - ./user-integration-tests-runner.sh - - - name: Cleanup Output Files - run: | - rm -rf eigenlayer-cli/tests/user - - - name: Validate Test Success - if: failure() - run: | - echo "Integration tests failed!" - exit 1 \ No newline at end of file + bats user-integration-tests-runner.sh \ No newline at end of file