@latest_post
Elixir CI with GitHub Actions
Prerequisites
Let's set up a CI ---Continuous Integration--- process for an
Elixir project using GitHub Actions.
I'll use the JSON API we built in this tutorial.
It's critical to have working tests on the project, otherwise what's the point of setting CI on it, right?
So, make sure to:
- Have a GitHub account, or create one.
- Have a repository holding your project's code.
- Have tests set up in your project.
CI workflow
Let's create a new workflow that'll run our tests
whenever we push code to main or make a pull request.