Skip to content

Commit

Permalink
remove cosmovisor test
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Jun 4, 2024
1 parent ba045d9 commit 779cc29
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -459,37 +459,6 @@ jobs:
with:
projectBaseDir: orm/

test-cosmovisor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
cache: true
cache-dependency-path: tools/cosmovisor/go.sum
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
tools/cosmovisor/**/*.go
tools/cosmovisor/go.mod
tools/cosmovisor/go.sum
- name: tests
if: env.GIT_DIFF
run: |
cd tools/cosmovisor
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
- 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: tools/cosmovisor/

test-confix:
runs-on: ubuntu-latest
steps:
Expand Down
42 changes: 42 additions & 0 deletions .gitpatches/ci_remove_cosmosvisor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 88cc942430..6c2af9708e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -459,37 +459,6 @@ jobs:
with:
projectBaseDir: orm/

- test-cosmovisor:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-go@v4
- with:
- go-version: "1.21"
- check-latest: true
- cache: true
- cache-dependency-path: tools/cosmovisor/go.sum
- - uses: technote-space/get-diff-action@v6.1.2
- id: git_diff
- with:
- PATTERNS: |
- tools/cosmovisor/**/*.go
- tools/cosmovisor/go.mod
- tools/cosmovisor/go.sum
- - name: tests
- if: env.GIT_DIFF
- run: |
- cd tools/cosmovisor
- go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
- - 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: tools/cosmovisor/
-
test-confix:
runs-on: ubuntu-latest
steps:

0 comments on commit 779cc29

Please sign in to comment.