-
Notifications
You must be signed in to change notification settings - Fork 175
Update Elixir, OTP, and dependencies #307
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
base: main
Are you sure you want to change the base?
Conversation
This PR updates the project to support newer Elixir (1.18) and OTP (28) versions, along with modernizing the codebase and updating CI configurations to match.
| setup_all do | ||
| TestPubSub.start_link() | ||
| Absinthe.Subscription.start_link(TestPubSub) | ||
| :ok | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sporadic error in CI:
1) test Subscriptions over HTTP with Server Sent Events chunked response (standard) (Absinthe.PlugTest)
Error: test/lib/absinthe/plug_test.exs:485
** (EXIT from #PID<0.332.0>) shutdown: failed to start child: Absinthe.Plug.TestPubSub.Registry
** (EXIT) already started: #PID<0.315.0>
.........................
Finished in 0.7 seconds (0.7s async, 0.00s sync)
86 tests, 1 failure
Randomized with seed 116773
Error: Process completed with exit code 2.
| import Plug.Test | ||
| import Plug.Conn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.
│
2 │ use Absinthe.Plug.TestCase
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ test/lib/absinthe/plug_test.exs:2: Absinthe.PlugTest (module)
warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.
│
3 │ use Absinthe.Plug.TestCase
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ test/lib/absinthe/plug/transport_batching_test.exs:3: Absinthe.Plug.TransportBatchingTest (module)
warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.
│
3 │ use Plug.Test
│ ~~~~~~~~~~~~~
│
└─ test/lib/absinthe/graphiql_test.exs:3: Absinthe.Plug.GraphiQLTest (module)
warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.
│
2 │ use Absinthe.Plug.TestCase
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ test/lib/absinthe/plug/document_provider_test.exs:2: Absinthe.Plug.DocumentProviderTest (module)
warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.
│
2 │ use Absinthe.Plug.TestCase
│ ~~~~~~~~~~~~~~~~~~~~~~~~~~
│
└─ test/lib/absinthe/plug/document_provider/compiled_test.exs:2: Absinthe.Plug.DocumentProvider.CompiledTest (module)
| app: :absinthe_plug, | ||
| version: @version, | ||
| elixir: "~> 1.13", | ||
| elixir: "~> 1.15", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tally with both absinthe and phoenix minimu Elixir version requirement.
This PR updates the project to support newer Elixir (1.18) and OTP (28) versions, along with modernizing the codebase and updating CI configurations to match.