diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 8919ca82..802e4c11 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -68,10 +68,20 @@ jobs: otp: ['22', '23', '24', '25', '26'] elixir: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16'] exclude: - - {otp: '25', elixir: '1.10'} + - {otp: '22', elixir: '1.14'} + - {otp: '22', elixir: '1.15'} + - {otp: '22', elixir: '1.16'} + - {otp: '23', elixir: '1.14'} + - {otp: '23', elixir: '1.15'} + - {otp: '23', elixir: '1.16'} + - {otp: '24', elixir: '1.11'} + - {otp: '24', elixir: '1.12'} + - {otp: '24', elixir: '1.13'} + - {otp: '24', elixir: '1.14'} + - {otp: '24', elixir: '1.15'} - {otp: '25', elixir: '1.11'} - {otp: '25', elixir: '1.12'} - - {otp: '26', elixir: '1.10'} + - {otp: '25', elixir: '1.14'} - {otp: '26', elixir: '1.11'} - {otp: '26', elixir: '1.12'} - {otp: '26', elixir: '1.13'} diff --git a/test/paths_test.exs b/test/paths_test.exs index cdfa2494..4bec9a9f 100644 --- a/test/paths_test.exs +++ b/test/paths_test.exs @@ -15,8 +15,10 @@ defmodule OpenApiSpex.PathsTest do refute Map.has_key?(paths, "/api/noapi") refute Map.has_key?(paths, "/api/noapi_with_struct") - assert pets_path_item.put.operationId == "OpenApiSpexTest.PetController.update" - assert pets_path_item.patch.operationId == "OpenApiSpexTest.PetController.update (2)" + operation_ids = [pets_path_item.put.operationId, pets_path_item.patch.operationId] + + assert "OpenApiSpexTest.PetController.update" in operation_ids + assert "OpenApiSpexTest.PetController.update (2)" in operation_ids end end end