diff --git a/.github/codecov.yml b/.github/codecov.yml index 3c6af9e47d0..4bd60ea9c11 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -15,12 +15,19 @@ coverage: status: project: default: +<<<<<<< HEAD + threshold: 0.5% + patch: + default: + threshold: 0.5% +======= target: auto threshold: 0.5% patch: default: target: auto threshold: 1% +>>>>>>> master flag_management: default_rules: @@ -30,8 +37,12 @@ flag_management: target: auto threshold: 0.5% - type: patch +<<<<<<< HEAD + threshold: 0.5% +======= target: auto threshold: 1% +>>>>>>> master individual_flags: - name: tm2 paths: diff --git a/.github/workflows/gnoland.yml b/.github/workflows/gnoland.yml index e4d59671754..5adab48495f 100644 --- a/.github/workflows/gnoland.yml +++ b/.github/workflows/gnoland.yml @@ -73,7 +73,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} name: gno.land - flags: gno.land-${{matrix.args}} + flags: gno.land-${{matrix.args}}-${{matrix.go-version}} files: ./gno.land/coverage.out fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }} diff --git a/.github/workflows/gnovm.yml b/.github/workflows/gnovm.yml index ec2526e1da9..b78af63ad31 100644 --- a/.github/workflows/gnovm.yml +++ b/.github/workflows/gnovm.yml @@ -77,7 +77,11 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} name: gnovm +<<<<<<< HEAD + flags: gnovm-${{matrix.args}}-${{matrix.go-version}} +======= verbose: true flags: gnovm-${{matrix.args}} +>>>>>>> master files: ./gnovm/coverage.out fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }} diff --git a/.github/workflows/tm2.yml b/.github/workflows/tm2.yml index 8e0158011a1..53bcdc2dc23 100644 --- a/.github/workflows/tm2.yml +++ b/.github/workflows/tm2.yml @@ -67,7 +67,11 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} name: tm2 +<<<<<<< HEAD + flags: tm2-${{matrix.args}}-${{matrix.go-version}} +======= verbose: true flags: tm2-${{matrix.args}} +>>>>>>> master files: ./tm2/coverage.out fail_ci_if_error: ${{ github.repository == 'gnolang/gno' }} diff --git a/gnovm/pkg/gnolang/alloc.go b/gnovm/pkg/gnolang/alloc.go index a83f8102a2b..a1f700adaf8 100644 --- a/gnovm/pkg/gnolang/alloc.go +++ b/gnovm/pkg/gnolang/alloc.go @@ -14,6 +14,22 @@ type Allocator struct { // for gonative, which doesn't consider the allocator. var nilAllocator = (*Allocator)(nil) +func untestedCodeForCI() { + if true { + if true { + if true { + if true { + if true { + if true { + _ = 42 + } + } + } + } + } + } +} + const ( // go elemental _allocBase = 24 // defensive... XXX