Skip to content

Commit

Permalink
Run tests via actions
Browse files Browse the repository at this point in the history
Support running tests via github actions
  • Loading branch information
BlakeWilliams committed Jun 25, 2020
1 parent 372425a commit fcf033c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/elixir.yml
@@ -0,0 +1,26 @@
name: Elixir CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['21.0', '22.0']
elixir: ['1.7.2', '1.10.1']
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.otp}} # Define the OTP version [required]
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test

0 comments on commit fcf033c

Please sign in to comment.