Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add codecov to the project #3168

Merged
merged 35 commits into from
Oct 15, 2024
Merged
Changes from 7 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ec09642
add codecov to the project
vishvamsinh28 Aug 28, 2024
566c37b
wf
vishvamsinh28 Aug 28, 2024
a8814ec
wfef
vishvamsinh28 Aug 28, 2024
0a997a3
updated workflow
vishvamsinh28 Aug 28, 2024
cef181b
Merge branch 'master' into addCodecov
vishvamsinh28 Aug 30, 2024
6d4d293
add explicit commit id
vishvamsinh28 Aug 30, 2024
fd92de6
Merge branch 'addCodecov' of https://github.com/vishvamsinh28/website…
vishvamsinh28 Aug 30, 2024
7e2c409
Merge branch 'master' into addCodecov
vishvamsinh28 Aug 31, 2024
2791cfd
update workflow
vishvamsinh28 Aug 31, 2024
6a1f40f
update id
vishvamsinh28 Aug 31, 2024
451acf3
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 5, 2024
347d752
remove flag
vishvamsinh28 Sep 7, 2024
859e9dc
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 7, 2024
4ce435f
Merge branch 'addCodecov' of https://github.com/vishvamsinh28/website…
vishvamsinh28 Sep 7, 2024
f29052d
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 11, 2024
af14485
Merge branch 'master' into addCodecov
anshgoyalevil Sep 13, 2024
354871b
updated test
vishvamsinh28 Sep 13, 2024
ca47e34
Merge branch 'master' into addCodecov
asyncapi-bot Sep 13, 2024
75d4483
Merge branch 'master' into addCodecov
asyncapi-bot Sep 13, 2024
9cc0dc1
remove flag
anshgoyalevil Sep 13, 2024
af99e29
fef
vishvamsinh28 Sep 13, 2024
e20d236
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 14, 2024
fd57791
Update jest.config.js
vishvamsinh28 Sep 14, 2024
829c653
jest config update
vishvamsinh28 Sep 14, 2024
0bde97f
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 16, 2024
d3541cb
fewf
vishvamsinh28 Sep 16, 2024
efe6ab9
Merge branch 'addCodecov' of https://github.com/vishvamsinh28/website…
vishvamsinh28 Sep 16, 2024
16f4651
Merge branch 'master' into addCodecov
asyncapi-bot Sep 18, 2024
37bea64
Merge branch 'master' into addCodecov
anshgoyalevil Sep 20, 2024
4a15cee
upated config for jest
vishvamsinh28 Sep 20, 2024
1643499
Merge branch 'addCodecov' of https://github.com/vishvamsinh28/website…
vishvamsinh28 Sep 20, 2024
8f79d8a
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 23, 2024
3fe50cd
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 28, 2024
6dab16d
Merge branch 'master' into addCodecov
vishvamsinh28 Sep 30, 2024
d745bb1
Merge branch 'master' into addCodecov
akshatnema Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nodeversion.outputs.version }}"
- name: Install dependencies
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
anshgoyalevil marked this conversation as resolved.
Show resolved Hide resolved
run: npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Test
Expand All @@ -72,3 +73,20 @@ jobs:
name: Run release assets generation to make sure PR does not break it
shell: bash
run: npm run generate:assets --if-present

upload-coverage:
name: Upload Coverage to Codecov
runs-on: ubuntu-latest
needs: test-nodejs-pr
anshgoyalevil marked this conversation as resolved.
Show resolved Hide resolved
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
fail_ci_if_error: true
files: ./coverage/lcov.info
flags: unittests
anshgoyalevil marked this conversation as resolved.
Show resolved Hide resolved
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
anshgoyalevil marked this conversation as resolved.
Show resolved Hide resolved
verbose: true
Loading