Skip to content

Commit

Permalink
Clean up github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed Nov 18, 2023
1 parent 2d0a4c6 commit aa4c26b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ jobs:
otp: 25.0
runs-on: ubuntu-latest
name: OTP ${{matrix.version.otp}} / Elixir ${{matrix.version.elixir}} / ${{matrix.http_server}}
env:
MIX_ENV: test
HTTP_SERVER: ${{matrix.http_server}}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.version.otp}}
elixir-version: ${{matrix.version.elixir}}
- run: mix deps.get
- run: MIX_ENV=test mix compile --warnings-as-errors
- run: HTTP_SERVER=${{matrix.http_server}} mix test
- run: MIX_ENV=test mix credo
- run: mix deps.get mix compile --warnings-as-errors
- run: mix test
- run: mix credo
deploy:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit aa4c26b

Please sign in to comment.