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

add github action workflow for code coverage and notification #73

Merged
merged 4 commits into from
Jul 22, 2021
Merged

add github action workflow for code coverage and notification #73

merged 4 commits into from
Jul 22, 2021

Conversation

kha7iq
Copy link
Contributor

@kha7iq kha7iq commented Apr 24, 2021

Description

This PR will provide a github action workflow for building coverage & uploading it to codecove.
This will be triggered on push request to master/develop/ and any tag with release pattern.
Needs CODECOV_TOKEN under github secrets for the repo.

2nd workflow is only triggered for pull_request.
On each pull request it will send a message to specified Telegram channel with head reference of branch, you can change the messages to anything.

Need to set github secret TELEGRAM_TOKEN , this is bot token
and TELEGRAM_CHANNELS, this is target telegram channel.

Fixes # #52

Type of change

  • New feature (non-breaking change which adds functionality)

@codecov
Copy link

codecov bot commented Apr 24, 2021

Codecov Report

Merging #73 (336db15) into master (fb86a33) will decrease coverage by 0.28%.
The diff coverage is n/a.

❗ Current head 336db15 differs from pull request most recent head 8e47065. Consider uploading reports for the commit 8e47065 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
- Coverage   90.07%   89.79%   -0.29%     
==========================================
  Files           1        1              
  Lines         252      245       -7     
==========================================
- Hits          227      220       -7     
  Misses         17       17              
  Partials        8        8              
Impacted Files Coverage Δ
cleanenv.go 89.79% <0.00%> (-0.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67aee9b...8e47065. Read the comment docs.

@ilyakaznacheev ilyakaznacheev added the enhancement New feature or request label May 26, 2021
@ilyakaznacheev ilyakaznacheev merged commit a4d3a3d into ilyakaznacheev:master Jul 22, 2021
@ilyakaznacheev
Copy link
Owner

Thank you @kha7iq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants