From 3727f23efd2083470af70748ba2dab55497bc8c8 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Thu, 5 Dec 2024 10:51:30 +0100 Subject: [PATCH] ci: run runtime/v2 tests in CI (#22769) --- .github/workflows/v2-test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/v2-test.yml b/.github/workflows/v2-test.yml index a5fe8caf6849..ee2cccea49f5 100644 --- a/.github/workflows/v2-test.yml +++ b/.github/workflows/v2-test.yml @@ -14,6 +14,30 @@ concurrency: cancel-in-progress: true jobs: + runtime-v2: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: "1.23" + check-latest: true + cache: true + cache-dependency-path: go.sum + - uses: technote-space/get-diff-action@v6.1.2 + id: git_diff + with: + PATTERNS: | + runtime/v2/*.go + runtime/v2/go.mod + runtime/v2/go.sum + - name: test & coverage report creation + if: env.GIT_DIFF + run: | + cd runtime/v2 && go test -mod=readonly -race -timeout 30m -tags='ledger test_ledger_mock' + server-v2: runs-on: ubuntu-latest strategy: