Coveralls

Code coverage tests

Description

This action performs coverage tests on the code and uploads the results to the Coveralls service which stores the results and generates pretty graphs.

The coverage tests don’t cover the entire codebase, just 13 libraries:

  • address - Email Address Handling
  • color - Colour handling code
  • compress - Data compression
  • config - User configurable variables
  • core - Backbone objects of NeoMutt
  • editor - Select a Mailbox from a list
  • email - Structs that make up an email
  • imap - IMAP network mailbox
  • mutt - Shared code for handling strings, files, dates, etc
  • notmuch - Notmuch virtual mailbox type
  • parse - Text parsing functions
  • pattern - Match patterns to emails
  • store - Key value store

Learn how the coverage tests are performed

See, How to build NeoMutt

Steps:

  • Build Neomutt
  • Build Tests
  • Make Coverage
  • Upload results to Coveralls

Action Details

Key Description Details
Trigger Schedule Mondays at 3am
Trigger Workflow (manual) https://github.com/neomutt/neomutt/actions/workflows/coveralls.yml
Uses GitHub’s checkout action https://github.com/actions/checkout
Uses Hendrik Muhs’ ccache-action https://github.com/hendrikmuhs/ccache-action
Uses Simen Bekkhus’ cpu-cores action https://github.com/SimenB/github-actions-cpu-cores
Uses Coverall’s github-action https://github.com/coverallsapp/github-action
Runs-on ubuntu-latest neomutt/ubuntu

See Also

Description Location
Action https://github.com/neomutt/neomutt/blob/main/.github/workflows/coveralls.yml
Action Logs https://github.com/neomutt/neomutt/actions/workflows/coveralls.yml
Source Code https://github.com/neomutt/neomutt
Test Files https://github.com/neomutt/neomutt-test-files
Results Code Coverage

Search by Algolia