Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Jan 24, 2024
1 parent dd0defe commit 30cded8
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
on: push
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.8.2
otp: 21.3
- elixir: 1.9.4
Expand All @@ -21,13 +25,13 @@ jobs:
check_format: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-elixir@v1
- uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix format --check-formatted
if: matrix.check_formatted
- run: mix compile --warnings-as-errors
if: matrix.warnings_as_errors
if: ${{ matrix.check_format }}
- run: mix compile --force --warnings-as-errors
if: ${{ matrix.check_warnings }}
- run: mix test --trace

0 comments on commit 30cded8

Please sign in to comment.