From 376e0c3d7fab2e35e1635a9cbbfa0a67f07fcb26 Mon Sep 17 00:00:00 2001 From: levisingularity Date: Thu, 27 Jun 2024 15:31:54 -0300 Subject: [PATCH] hotfix: integration tests build workflow --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46944cd..dabfe5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,7 @@ jobs: integration-tests: runs-on: ubuntu-latest - needs: + needs: - build-das-cli steps: - name: Checkout @@ -60,7 +60,13 @@ jobs: submodules: true - name: Install requirements - run: sudo apt -y install bats make + run: |- + sudo apt -y update && sudo apt -y install make + cd /tmp + git clone --depth=1 --branch v1.11.0 https://github.com/bats-core/bats-core.git + cd bats-core + sudo ./install.sh /usr/local + cd - - name: Download das-cli artifact uses: actions/download-artifact@v4 @@ -74,6 +80,12 @@ jobs: - name: Runnign integration tests run: make integration_tests + - name: Installing das-cli package + run: sudo apt -y install $(find . -name *.deb -type f | head -n 1) + + - name: Runnign integration tests + run: make integration_tests + tag: needs: - integration-tests