📎 modern update #150
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
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
matrix: | |
otp: ["24", "25"] | |
elixir: ["1.13.4", "1.14.3"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Install → Compile dependencies | |
run: | | |
MIX_ENV=test mix deps.get | |
MIX_ENV=test mix deps.compile | |
MIX_ENV=test mix compile | |
- name: Start epmd | |
run: | | |
epmd -daemon | |
- name: Run tests | |
run: | | |
MIX_ENV=test mix test |