Skip to content

Commit

Permalink
chore: bump codecov-action up from 1.2.1 to 1.5.0 (#181)
Browse files Browse the repository at this point in the history
* chore: codecov no base report

* chore: add meaningless modification to enable codecov action
  • Loading branch information
Woosang Son authored May 11, 2021
1 parent 3823fcc commit 2b4abe5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
if: env.GIT_DIFF
- uses: codecov/codecov-action@v1.2.1
- uses: codecov/codecov-action@v1.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down
26 changes: 3 additions & 23 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,14 @@ codecov:
comment:
layout: "reach,diff,flags,tree"
behavior: default # update if exists else create new
require_changes: no
require_changes: true

coverage:
status:
project:
default:
# basic
target: 20
threshold: 1% # allow this much decrease on project
base: auto
# advanced
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
app:
target: 70%
flags:
Expand Down Expand Up @@ -58,14 +48,6 @@ flags:
- "client/"
- "x/**/client/"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

ignore:
- "docs"
- "*.md"
Expand All @@ -75,12 +57,10 @@ ignore:
- "*.sh"
- "*.png"
- "*_test.go"
- "scripts/"
- "x/**/test_common.go"
- "*_cmd.go"
- "contrib/**/*"
- "client/rpc/**/*_wrapper.go"
- "client/rpc/**/*_alias.go"
- "client/rpc/mock/*.go"
- "contrib"
- "statik.go"
- "root.go"
- "x/**/module.go"
Expand Down
2 changes: 1 addition & 1 deletion simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ func (a appCreator) newApp(logger log.Logger, db tmdb.DB, traceStore io.Writer,
baseapp.SetMinRetainBlocks(cast.ToUint64(appOpts.Get(server.FlagMinRetainBlocks))),
baseapp.SetInterBlockCache(cache),
baseapp.SetIAVLCacheManager(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))),
baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))),
baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))),
baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))),
baseapp.SetSnapshotStore(snapshotStore),
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval))),
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent))),
Expand Down

0 comments on commit 2b4abe5

Please sign in to comment.