Skip to content

Elixir package maintenance #12

Elixir package maintenance

Elixir package maintenance #12

Workflow file for this run

name: Test Elixir implementation
on:
pull_request:
branches:
- main
paths:
- "impl/ex/**"
- ".github/workflows/pr-ex-test.yml"
jobs:
credo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
elixir-version: "1.17.1"
otp-version: "26"
- name: Run credo
run: |
cd impl/ex
mix deps.get && mix deps.compile
mix credo
test:
runs-on: ubuntu-latest
name: Elixir ${{matrix.elixir}} (OTP ${{matrix.otp}})
strategy:
matrix:
otp: ["25", "26"]
elixir: ["1.17.1", 1.16.1", "1.15.7"]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Run Tests
run: |
cd impl/ex
mix deps.get && mix deps.compile
mix test