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

ci: add tests coverage analysis #296

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

YassinEldeeb
Copy link
Member

@YassinEldeeb YassinEldeeb commented Jan 8, 2024

  • analyze tests coverage
  • compare master with PR and block if percentage is lower
  • parse the output and shape it to a readable markdown report
  • visualize it
  • post on github as a comment

@YassinEldeeb YassinEldeeb marked this pull request as ready for review January 8, 2024 04:58
Copy link

github-actions bot commented Jan 8, 2024

✅ Benchmark Results

     data_received..................: 63 MB   781 kB/s
     data_sent......................: 99 MB   1.2 MB/s
     http_req_blocked...............: avg=2.15µs  min=701ns    med=1.93µs  max=1.87ms   p(90)=2.19µs  p(95)=2.4µs  
     http_req_connecting............: avg=68ns    min=0s       med=0s      max=786.88µs p(90)=0s      p(95)=0s     
   ✓ http_req_duration..............: avg=27.14ms min=765.5µs  med=26.6ms  max=125.99ms p(90)=43.69ms p(95)=50.07ms
       { expected_response:true }...: avg=27.14ms min=765.5µs  med=26.6ms  max=125.99ms p(90)=43.69ms p(95)=50.07ms
   ✓ http_req_failed................: 0.00%   ✓ 0           ✗ 257099
     http_req_receiving.............: avg=31.88µs min=9.58µs   med=25.31µs max=35.32ms  p(90)=37.62µs p(95)=41.6µs 
     http_req_sending...............: avg=17.43µs min=4.98µs   med=11.05µs max=55.11ms  p(90)=13.44µs p(95)=21.1µs 
     http_req_tls_handshaking.......: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=27.09ms min=732.85µs med=26.56ms max=125.95ms p(90)=43.62ms p(95)=49.98ms
     http_reqs......................: 257099  3213.727125/s
     iteration_duration.............: avg=27.23ms min=834.01µs med=26.7ms  max=126.08ms p(90)=43.78ms p(95)=50.17ms
     iterations.....................: 257099  3213.727125/s
   ✓ valid_graphql_response.........: 100.00% ✓ 257099      ✗ 0     
   ✓ valid_http_code................: 100.00% ✓ 257099      ✗ 0     
     vus............................: 1       min=1         max=100 
     vus_max........................: 100     min=100       max=100 

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

Successfully merging this pull request may close these issues.

1 participant