Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joshuataylor/a55e7dcb49838c0868227a2682a701ed to your computer and use it in GitHub Desktop.
Save joshuataylor/a55e7dcb49838c0868227a2682a701ed to your computer and use it in GitHub Desktop.
steps:
- checkout
- restore_cache:
keys:
- project-{{ checksum "mix.exs" }}-{{ checksum "mix.lock" }}
- run:
name: deps
command: MIX_ENV=test mix deps.get
- run:
name: compile test
command: MIX_ENV=test mix compile
- save_cache:
key: project-{{ checksum "mix.exs" }}-{{ checksum "mix.lock" }}
paths:
- _build
- deps
- run:
name: test
command: mix test
@joshuataylor
Copy link
Author

Ah! That makes sense, thnaks @noma4i ! Will remove that then, didn't know it had such ramifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment