Skip to content

Commit

Permalink
Elixir 1.16 (#117)
Browse files Browse the repository at this point in the history
* Elixir 1.16

* Fix smoke test
  • Loading branch information
angelikatyborska authored Jan 8, 2024
1 parent 7150b2a commit 370479e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elixir_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04

container:
image: hexpm/elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612
image: hexpm/elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009

steps:
- name: Install git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/exercism_test_helper_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04

container:
image: hexpm/elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612
image: hexpm/elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.15.2-otp-26
erlang 26.0.2
elixir 1.16.0-otp-26
erlang 26.2.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hexpm/elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612
FROM hexpm/elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009

# Install SSL ca certificates
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Exercism Automated Test Runner for Elixir Exercises

## Environment

The test runner currently targets exercises supporting Elixir >= 1.6 and Erlang/OTP >= 20, but is running on Elixir 1.15.2 on hexpm's `elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612` image
The test runner currently targets exercises supporting Elixir >= 1.11 and Erlang/OTP >= 23, but is running on Elixir 1.16.0 on hexpm's `elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009` image

The `Dockerfile` also has added `bash`, `jo` and `jq` to the image.

Expand Down
2 changes: 1 addition & 1 deletion elixir
Submodule elixir updated 141 files
2 changes: 1 addition & 1 deletion exercism_test_helper/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ExercismTestHelper.MixProject do
[
app: :exercism_test_helper,
version: "0.1.2",
elixir: "~> 1.15",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript()
Expand Down
2 changes: 1 addition & 1 deletion test/hello-world-broken/expected_results.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":3,"status":"error","message":"Compiling 1 file (.ex)\nerror: undefined function efmodule/2 (there is no such import)\n lib/hello_world.ex:1\n\n\n== Compilation error in file lib/hello_world.ex ==\n** (CompileError) lib/hello_world.ex: cannot compile file (errors have been logged)\n (elixir 1.15.2) lib/kernel/parallel_compiler.ex:377: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/8","tests":[]}
{"version":3,"status":"error","message":"Compiling 1 file (.ex)\n error: undefined function efmodule/2 (there is no such import)\n \n 1 │ efmodule HelloWorld do\n │ ^\n\n └─ lib/hello_world.ex:1:1\n\n\n== Compilation error in file lib/hello_world.ex ==\n** (CompileError) lib/hello_world.ex: cannot compile file (errors have been logged)","tests":[]}

0 comments on commit 370479e

Please sign in to comment.