Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
dialyzer
Dockerfile Default to "dev" for MIX_ENV in mix action Jan 26, 2019
README.md
entrypoint.sh Use entrypoint for mix action Dec 18, 2018

README.md

GitHub Action for Mix

This Action for Mix enables arbitrary actions with this mix command-line client.

Usage

An example workflow to run mix test is as follows:

workflow "Run tests" {
  on = "push"
  resolves = "Test"
}

action "Test" {
  uses = "jclem/actions/mix@master"
  args = "test"
  env = {
    MIX_ENV = "test"
  }
}

Note that by default, $MIX_ENV is set to "dev", so for running tests, you'll want to set it to "test".