Skip to content

Commit

Permalink
add : dependancy for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharma committed Oct 3, 2023
1 parent 594f78a commit c4f9084
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,27 +159,15 @@ jobs:
matrix:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
dependencies:
- build
- unit-tests
- integration-tests
steps:
- uses: actions/checkout@v3
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
- name: Install gocovmerge
run: make gocovmerge-deps

- name: Merge coverage files
run: gocovmerge ./*.out > ./merged.out

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./cover.out

- name: Upload combined coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./merged.out

e2e-tests:
if: (github.event.action != 'closed' || github.event.pull_request.merged == true)
Expand Down

0 comments on commit c4f9084

Please sign in to comment.