Skip to content

NFIBrokerage/bless

Repository files navigation

Bless

Actions CI

A mix task for running test suites

Usage

Define the test suite for bless to run by making a list of tasks and arguments in your mix.exs file. Add a :bless_suite key to the project/0 function like so:

def project do
  [
    preferred_cli_env: [
      bless: :test
    ],
    ..
    bless_suite: [
      compile: ["--warnings-as-errors", "--force"],
      "chaps.html": ["--raise"],
      format: ["--check-formatted"],
      credo: [],
      "deps.unlock": ["--check-unused"]
    ],
    ..
  ]
end

Then running mix bless will run each of those tasks.

Installation

def deps do
  [
    {:bless, "~> 1.0"}
  ]
end