Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Dec 31, 2024
1 parent 05b09f4 commit 4959f3f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/bdd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: BDD CI
on:
workflow_call:
push:
branches:
- ci

env:
CARGO_TERM_COLOR: always
Expand All @@ -27,13 +30,15 @@ jobs:
run: nix-shell --run "cargo build --bins"
- name: Setup Test Pre-Requisites
run: |
sudo sysctl -w vm.nr_hugepages=3072
sudo sysctl -w vm.nr_hugepages=$((3072+512))
sudo apt-get install linux-modules-extra-$(uname -r)
sudo modprobe nvme_tcp
- name: Run BDD Tests
run: |
nix-shell --run "deployer start --image-pull-policy always -w 60s && deployer stop"
nix-shell --run "./scripts/python/test.sh"
while [ $? -eq 0 ]; do
nix-shell --run "./scripts/python/test.sh"
done
- name: Cleanup
if: always()
run: nix-shell --run "./scripts/python/test-residue-cleanup.sh"
Expand Down

0 comments on commit 4959f3f

Please sign in to comment.