diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index f09f0ceb03..37edc39242 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -618,10 +618,12 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false + - if: matrix.mode.kafka name: Setup kafka server working-directory: tests-integration/fixtures - run: docker compose up -d --wait kafka + run: ../../.github/scripts/pull-test-deps-images.sh && docker compose up -d --wait kafka + - name: Download pre-built binaries uses: actions/download-artifact@v4 with: @@ -745,12 +747,10 @@ jobs: - name: Install latest nextest release uses: taiki-e/install-action@nextest - - name: Pull test dependencies images - run: ./.github/scripts/pull-test-deps-images.sh - - name: Setup external services working-directory: tests-integration/fixtures - run: docker compose up -d --wait + run: ../../.github/scripts/pull-test-deps-images.sh && docker compose up -d --wait + - name: Run nextest cases run: cargo nextest run --workspace -F dashboard -F pg_kvbackend -F mysql_kvbackend env: @@ -804,9 +804,11 @@ jobs: uses: taiki-e/install-action@nextest - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov + - name: Setup external services working-directory: tests-integration/fixtures - run: docker compose up -d --wait + run: ../../.github/scripts/pull-test-deps-images.sh && docker compose up -d --wait + - name: Run nextest cases run: cargo llvm-cov nextest --workspace --lcov --output-path lcov.info -F dashboard -F pg_kvbackend -F mysql_kvbackend env: