diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04791ba..7f74c60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/test/late_test.exs b/test/late_test.exs index 2440be4..3f98b4c 100644 --- a/test/late_test.exs +++ b/test/late_test.exs @@ -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