-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added local e2e tests * update docker file * update build-and-run-single-node * skip test on tools fo sdk --------- Co-authored-by: allthatjazzleo <[email protected]>
- Loading branch information
1 parent
ff910d1
commit 47e46e7
Showing
41 changed files
with
5,046 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Ignore the git related directory | ||
.git | ||
.github | ||
.devcontainer | ||
|
||
# Ignore local environment files | ||
.env | ||
*.local | ||
|
||
# Ignore build artifacts | ||
bin/ | ||
build/ | ||
obj/ | ||
dist/ | ||
|
||
# Ignore test files | ||
/tests/ | ||
|
||
# Ignore any other unnecessary directories | ||
/proto | ||
/networks | ||
/adr | ||
|
||
# Ignore any other unnecessary files | ||
*.log | ||
*.tmp | ||
*.bak | ||
.golangci.yml | ||
.goreleaser.yml | ||
.lycheeignore | ||
.markdownlint.yml | ||
.markdownlintignore | ||
buf.work.yaml | ||
chains.yaml | ||
coderabbit.yaml | ||
config.yml | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
sonar-project.properties |
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
branches: main | ||
name: E2E Tests | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.23 | ||
- uses: actions/checkout@v4 | ||
- name: Install tparse | ||
run: | | ||
go install github.com/mfridman/tparse@latest | ||
- run: make test-e2e |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
branches: main | ||
name: SDK Tests | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.23 | ||
- uses: actions/checkout@v4 | ||
- name: Extract Tag or Commit | ||
run: | | ||
FULL_VERSION=$(go list -m github.com/cosmos/cosmos-sdk 2> /dev/null | sed 's:.* ::') | ||
if [[ $FULL_VERSION == *"-0."* ]]; then | ||
# This is a pseudo-version (commit-based) | ||
SDK_VERSION=${FULL_VERSION##*-} | ||
else | ||
# This is a regular version tag | ||
SDK_VERSION=$FULL_VERSION | ||
fi | ||
echo "SDK_VERSION=${SDK_VERSION}" | tee -a $GITHUB_ENV | ||
- name: Checkout MANTRA-Chain/cosmos-sdk | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: MANTRA-Chain/cosmos-sdk | ||
path: cosmos-sdk | ||
ref: ${{ env.SDK_VERSION }} | ||
- name: Install tparse | ||
run: | | ||
go install github.com/mfridman/tparse@latest | ||
- name: Run all tests | ||
run: | | ||
# skip test on tools | ||
rm -rf tools | ||
make test-all | ||
working-directory: cosmos-sdk |
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 |
---|---|---|
|
@@ -11,3 +11,6 @@ release/ | |
swagger-proto | ||
tmp-swagger-gen | ||
client/docs/node_modules | ||
build | ||
exclusive.lock | ||
coverage.txt |
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 |
---|---|---|
|
@@ -17,7 +17,6 @@ linters: | |
- errname | ||
- copyloopvar | ||
- fatcontext | ||
- forcetypeassert | ||
- gci | ||
- goconst | ||
- gochecksumtype | ||
|
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
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
Oops, something went wrong.