elixir-cldr / cldr

Elixir implementation of CLDR/ICU
Other
440 stars 33 forks source link

Add integration test #230

Open Schultzer opened 3 months ago

Schultzer commented 3 months ago

This PR adds an integration workflow for all the repositories.

This will use the current branch, SEE https://github.com/elixir-cldr/cldr_territories/pull/43, for more context.

For a repository that requires ex_cldr, the mix files should change the following. This is similar to how Ecto approaches this: https://github.com/elixir-ecto/ecto_sql/blob/master/mix.exs#L53-L81


   defp deps do
     [
        {:ex_cldr, cldr_dep()},
        ...
     ]
   end

  defp cldr_dep() do
    if path = System.get_env("CLDR_PATH") do
      [path: path]
    else
      "~> 2.38"
    end
  end