-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: keep in release branch only sdk versioned software 2/2 (#21140)
- Loading branch information
1 parent
bad0add
commit 580af8b
Showing
809 changed files
with
674 additions
and
666,757 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -479,6 +479,36 @@ jobs: | |
with: | ||
projectBaseDir: schema/ | ||
|
||
test-schema-testing: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
cache: true | ||
cache-dependency-path: schema/testing/go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
schema/testing/**/*.go | ||
schema/testing/go.mod | ||
schema/testing/go.sum | ||
- name: tests | ||
if: env.GIT_DIFF | ||
run: | | ||
cd schema | ||
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic ./... | ||
- name: sonarcloud | ||
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }} | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
with: | ||
projectBaseDir: schema/testing/ | ||
|
||
test-indexer-postgres: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -740,6 +770,74 @@ jobs: | |
with: | ||
projectBaseDir: tools/hubl/ | ||
|
||
test-store: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: store/go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
store/**/*.go | ||
store/go.mod | ||
store/go.sum | ||
- name: tests | ||
if: env.GIT_DIFF | ||
run: | | ||
cd store | ||
nix develop .. -c go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb' ./... | ||
- name: sonarcloud | ||
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }} | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
with: | ||
projectBaseDir: store/ | ||
|
||
test-store-v2: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: store/v2/go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
store/v2/**/*.go | ||
store/v2/go.mod | ||
store/v2/go.sum | ||
- name: test & coverage report creation | ||
if: env.GIT_DIFF | ||
run: | | ||
cd store/v2 | ||
nix develop .. -c go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb' ./... | ||
- name: sonarcloud | ||
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }} | ||
uses: SonarSource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
with: | ||
projectBaseDir: store/v2/ | ||
|
||
test-log: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,78 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
server-v2: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
server/v2/*.go | ||
server/v2/go.mod | ||
server/v2/go.sum | ||
server/v2/testdata/*.toml | ||
- name: test & coverage report creation | ||
if: env.GIT_DIFF | ||
run: | | ||
cd server/v2 && go test -mod=readonly -race -timeout 30m -tags='ledger test_ledger_mock' | ||
stf: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
server/v2/stf/**/*.go | ||
server/v2/stf/go.mod | ||
server/v2/stf/go.sum | ||
- name: test & coverage report creation | ||
if: env.GIT_DIFF | ||
run: | | ||
cd server/v2/stf && go test -mod=readonly -race -timeout 30m -tags='ledger test_ledger_mock' | ||
appmanager: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
check-latest: true | ||
cache: true | ||
cache-dependency-path: go.sum | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
server/v2/appmanager/**/*.go | ||
server/v2/appmanager/go.mod | ||
server/v2/appmanager/go.sum | ||
- name: test & coverage report creation | ||
if: env.GIT_DIFF | ||
run: | | ||
cd server/v2/appmanager && go test -mod=readonly -race -timeout 30m -tags='ledger test_ledger_mock' | ||
cometbft: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.