ci: run runtime/v2 tests in CI (#22769)

This commit is contained in:
Julien Robert 2024-12-05 10:51:30 +01:00 committed by GitHub
parent 227854e258
commit 3727f23efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: