Skip to content

Commit

Permalink
hotfix: integration tests build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Jun 27, 2024
1 parent 8820a93 commit 376e0c3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

integration-tests:
runs-on: ubuntu-latest
needs:
needs:
- build-das-cli
steps:
- name: Checkout
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 376e0c3

Please sign in to comment.