From 8784d46661b4d5ef2910da94a7f894a84dd87e3e Mon Sep 17 00:00:00 2001 From: Hans Krutzer Date: Mon, 23 Sep 2024 12:00:26 +0200 Subject: [PATCH 1/2] Formatting --- test/late_test.exs | 1 + 1 file changed, 1 insertion(+) 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 From 3da6351d80f9bd92e940456184079a9b2c2d08a4 Mon Sep 17 00:00:00 2001 From: Hans Krutzer Date: Mon, 23 Sep 2024 11:59:00 +0200 Subject: [PATCH 2/2] Fix linting in CI --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}