Skip to content

Commit

Permalink
update CI to include new Elixir and OTP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
baseballlover723 committed Sep 7, 2021
1 parent 75b62d8 commit 00a20af
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,40 @@ jobs:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
otp: ['23.0']
elixir: ['1.11.3']
otp: [20.3, 21.3, 22.3, 23.3, 24.0]
elixir: [1.9.4, 1.10.4, 1.11.4, 1.12.2]
exclude:
- otp: 20.3
elixir: 1.10.4
- otp: 20.3
elixir: 1.11.4
- otp: 20.3
elixir: 1.12.2
- otp: 21.3
elixir: 1.12.2
- otp: 23.3
elixir: 1.9.4
- otp: 24.0
elixir: 1.9.4
- otp: 24.0
elixir: 1.10.4
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: MIX_ENV=test mix deps.get
- run: MIX_ENV=test mix test
- run: MIX_ENV=test mix credo --strict
- name: Get Dependencies
run: mix deps.get
- name: Compile Dependencies
run: mix deps.compile
- name: Compile Project
run: mix compile
- name: Run Tests
run: mix test
- name: Run Credo
run: mix credo --strict

0 comments on commit 00a20af

Please sign in to comment.