Skip to content

Commit

Permalink
Update .gitpod.yml (#34)
Browse files Browse the repository at this point in the history
* Update .gitpod.yml

* Update ci.yml

* Update ci.yml
  • Loading branch information
faddat authored Aug 18, 2022
1 parent cad0422 commit 632337c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,14 @@ on:
- master
pull_request:
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

Test:
RunTests:
# The custom image here contains pre-built libraries for leveldb and
# rocksdb, which are needed to build and test those modules.
# To update the container image, see docker.yml.
runs-on: ubuntu-latest
container: tendermintdev/docker-tm-db-testing
steps:
- uses: actions/checkout@v3
- name: test & coverage report creation
run: |
CGO_ENABLED=1 go test ./... -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic -tags=memdb,goleveldb,cleveldb,rocksdb -v
- name: run tests
run: go test ./... -mod=readonly -timeout 8m -race -tags=memdb,goleveldb,cleveldb,rocksdb -v

2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

image: tendermintdev/docker-tm-db-testing
image: ghcr.io/cosmos/cosmos-db/build-test:latest

# this means that there's a one-click known good environment available to developers.

0 comments on commit 632337c

Please sign in to comment.