Skip to content
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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.14
otp: 24.2
elixir: "1.15"
otp: "25"
- pair:
elixir: 1.17
otp: 27.3
elixir: "1.19"
otp: "29"
lint: lint
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- uses: erlef/setup-beam@v1
with:
Expand All @@ -47,18 +47,18 @@ jobs:
- run: mix test

test_cowboy_latest:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
MIX_ENV: test
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- uses: erlef/setup-beam@v1
with:
otp-version: 27.3
elixir-version: 1.17
otp-version: master
elixir-version: main

- run: mix deps.unlock cowboy cowlib ranch && mix deps.get --only test

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Plug.Cowboy.MixProject do
[
app: :plug_cowboy,
version: @version,
elixir: "~> 1.11",
elixir: "~> 1.15",
deps: deps(),
package: package(),
description: @description,
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"},
"telemetry": {:hex, :telemetry, "1.1.0", "a589817034a27eab11144ad24d5c0f9fab1f58173274b1e9bae7074af9cbee51", [:rebar3], [], "hexpm", "b727b2a1f75614774cff2d7565b64d0dfa5bd52ba517f16543e6fc7efcc0df48"},
"unicode_util_compat": {:hex, :unicode_util_compat, "0.7.0", "bc84380c9ab48177092f43ac89e4dfa2c6d62b40b8bd132b1059ecc7232f9a78", [:rebar3], [], "hexpm", "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"},
"x509": {:hex, :x509, "0.8.8", "aaf5e58b19a36a8e2c5c5cff0ad30f64eef5d9225f0fd98fb07912ee23f7aba3", [:mix], [], "hexpm", "ccc3bff61406e5bb6a63f06d549f3dba3a1bbb456d84517efaaa210d8a33750f"},
"x509": {:hex, :x509, "0.9.2", "a75aa605348abd905990f3d2dc1b155fcde4e030fa2f90c4a91534405dce0f6e", [:mix], [], "hexpm", "4c5ede75697e565d4b0f5be04c3b71bb1fd3a090ea243af4bd7dae144e48cfc7"},
}
4 changes: 3 additions & 1 deletion test/plug/cowboy/drainer_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ defmodule Plug.Cowboy.DrainerTest do
Process.register(self(), __MODULE__)

# Supervisor and listener started
assert {:ok, pid} = start_link(refs: :all, shutdown: 1000, drain_check_interval: 10)
assert {:ok, pid} =
start_link(refs: [__MODULE__.HTTP], shutdown: 1000, drain_check_interval: 10)

assert :running == get_status()

# Start a request that will keep a connection open for a while
Expand Down
Loading