Skip to content

Commit

Permalink
Merge branch 'master' into fix/amino/recursive-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton committed Oct 2, 2023
2 parents 8d69521 + 39ab2da commit b8b30ff
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 3

paths:
exclude:
- ./misc/
20 changes: 14 additions & 6 deletions .github/workflows/gnoland.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,22 @@ jobs:
export GOPATH=$HOME/go
export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic"
make ${{ matrix.args }}
# NOTE: Using retry action to manage occasional upload failures to codecov.io, due to API limits.
# Refer to issue#3954: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
- if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }}
uses: codecov/codecov-action@v3
name: Upload coverage to Codecov.io
uses: Wandalen/wretry.action@v1.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: gno.land
flags: gno.land-${{matrix.args}}
files: ./gno.land/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
attempt_limit: 3
attempt_delay: 30000
action: codecov/codecov-action@v3
with: |
token: ${{ secrets.CODECOV_TOKEN }}
name: gno.land
flags: gno.land-${{matrix.args}}
files: ./gno.land/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
docker-integration:
strategy:
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/gnovm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,20 @@ jobs:
export GOPATH=$HOME/go
export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic"
make ${{ matrix.args }}
# NOTE: Using retry action to manage occasional upload failures to codecov.io, due to API limits.
# Refer to issue#3954: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
- if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }}
uses: codecov/codecov-action@v3
name: Upload coverage to Codecov.io
uses: Wandalen/wretry.action@v1.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: gnovm
verbose: true
flags: gnovm-${{matrix.args}}
files: ./gnovm/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
attempt_limit: 3
attempt_delay: 30000
action: codecov/codecov-action@v3
with: |
token: ${{ secrets.CODECOV_TOKEN }}
name: gnovm
verbose: true
flags: gnovm-${{matrix.args}}
files: ./gnovm/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
22 changes: 15 additions & 7 deletions .github/workflows/tm2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,20 @@ jobs:
export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic"
make ${{ matrix.args }}
touch coverage.out
# NOTE: Using retry action to manage occasional upload failures to codecov.io, due to API limits.
# Refer to issue#3954: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
- if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }}
uses: codecov/codecov-action@v3
name: Upload coverage to Codecov.io
uses: Wandalen/wretry.action@v1.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: tm2
verbose: true
flags: tm2-${{matrix.args}}
files: ./tm2/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
attempt_limit: 3
attempt_delay: 30000
action: codecov/codecov-action@v3
with: |
token: ${{ secrets.CODECOV_TOKEN }}
name: tm2
verbose: true
flags: tm2-${{matrix.args}}
files: ./tm2/coverage.out
fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/peterbourgon/ff/v3 v3.4.0
github.com/pmezard/go-difflib v1.0.0
github.com/rogpeppe/go-internal v1.11.0
github.com/rs/cors v1.10.0
github.com/rs/cors v1.10.1
github.com/stretchr/testify v1.8.4
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c
go.etcd.io/bbolt v1.3.7
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8b30ff

Please sign in to comment.