-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add GitHub Action CI workflow * Update README * Remove Travis CI
- Loading branch information
Showing
3 changed files
with
58 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
push: | ||
branches: | ||
- 'master' | ||
jobs: | ||
Test: | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: elixir:1.9-alpine | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
- name: Run Tests | ||
run: mix test | ||
|
||
Linting: | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: elixir:1.9-alpine | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
- name: Run Formatter | ||
run: mix format --check-formatted | ||
|
||
- name: Run Credo | ||
run: mix credo |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters