Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting in CI #2

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
restore-keys: ${{ runner.os }}-mix-
- run: mix deps.get --check-locked
- run: mix format --check-formatted
if: ${{ matrix.lint }}
if: ${{ matrix.pair.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
if: ${{ matrix.pair.lint }}
- run: mix deps.compile
- run: mix compile --no-optional-deps --warnings-as-errors
if: ${{ matrix.lint }}
if: ${{ matrix.pair.lint }}
- run: mix test --slowest 5
if: ${{ ! matrix.lint }}
if: ${{ ! matrix.pair.lint }}
- run: mix test --slowest 5 --warnings-as-errors
if: ${{ matrix.lint }}
if: ${{ matrix.pair.lint }}
1 change: 1 addition & 0 deletions test/late_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ defmodule LateTest do
)

Process.flag(:trap_exit, true)

{%Mint.TransportError{reason: :closed}, _} =
catch_exit(Late.call(pid, :kill_server_worker))
end
Expand Down