Skip to content

Commit

Permalink
Run all test scripts for integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Aug 10, 2022
1 parent 90a718f commit f2bd747
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ jobs:
with:
path-to-profile: profile.cov

- name: Run xk6-kafka tests 🧪
run: ./k6 run --quiet -d 5s ./scripts/test_json.js
- name: Run all xk6-kafka test scripts 🧪
run: |
for f in $(ls scripts/); do
# Until after we have a setup for SASL Authentication,
# we need to skip this test.
if [ "$f" != "test_sasl_auth.js" ]; then
./k6 run --quiet -d 2s scripts/$f;
fi
done
- name: Stop containers 🛑
if: always()
Expand Down

0 comments on commit f2bd747

Please sign in to comment.