Skip to content

Commit

Permalink
ci: run runtime/v2 tests in CI (#22769)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Dec 5, 2024
1 parent 227854e commit 3727f23
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/v2-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3727f23

Please sign in to comment.