Fix compiler warning on Elixir 1.15 #786
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: "CI Tests" | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-18.04 | |
name: "[${{matrix.otp}}/${{matrix.elixir}}] CI Tests on Credo [OTP/Elixir]" | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: [21.3, 22.3, 23.3, 24.2, 25.3, 26.0] | |
elixir: [1.11.4, 1.12.2, 1.13.4, 1.14.5, 1.15.3] | |
exclude: | |
- otp: 21.3 | |
elixir: 1.12.2 | |
- otp: 21.3 | |
elixir: 1.13.4 | |
- otp: 21.3 | |
elixir: 1.14.5 | |
- otp: 22.3 | |
elixir: 1.14.5 | |
steps: | |
- uses: actions/checkout@v2.3.1 | |
with: | |
fetch-depth: 0 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- run: mix deps.get | |
- run: mix deps.compile | |
- run: mix compile --warnings-as-errors | |
- run: mix test | |
- run: ./test/smoke_test.sh |