From f2bd747f5209924f4e9caa2853627df2e9ba0fab Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Wed, 10 Aug 2022 22:44:26 +0200 Subject: [PATCH] Run all test scripts for integration testing --- .github/workflows/test.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d3356e3..58f47b9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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()