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 dcfaf9d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 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 tests/bdd/features/volume/topology"
done
- name: Cleanup
if: always()
run: nix-shell --run "./scripts/python/test-residue-cleanup.sh"
Expand All @@ -47,7 +52,7 @@ jobs:
fail-on-empty: true
title: Test results
# debugging
# - name: Setup tmate session
# if: ${{ failure() }}
# timeout-minutes: 120
# uses: mxschmitt/action-tmate@v3
- name: Setup tmate session
if: ${{ failure() }}
timeout-minutes: 240
uses: mxschmitt/action-tmate@v3

0 comments on commit dcfaf9d

Please sign in to comment.