Skip to content

Commit a9d38b8

Browse files
authored
Upgrade test-runner dependencies (#55)
- upgrade base image to latest Temurin 17 image - upgrade nodejs to latest LTS - upgrade nbb to latest - upgrade Clojure and Clojurescript to latest
1 parent 42c76cf commit a9d38b8

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM clojure:openjdk-17-tools-deps-1.10.3.822-slim-buster
1+
FROM clojure:temurin-17-tools-deps-1.11.1.1273-bullseye-slim
22

33
RUN apt-get update && \
4-
apt-get install -y curl jq && \
5-
curl -fsSL https://deb.nodesource.com/setup_15.x | bash - && \
4+
apt-get install -y curl jq && \
5+
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
66
apt-get install -y nodejs && \
77
rm -rf /var/lib/apt/lists/* && \
88
apt-get purge --auto-remove && \
99
apt-get clean
1010

11-
RUN npm install -g nbb@0.0.92
11+
RUN npm install -g nbb@1.2.173
1212

1313
WORKDIR /opt/test-runner
1414

deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}
44
olical/cljs-test-runner {:mvn/version "3.8.0"}}}

tests/example-all-fail/deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}}
44

55
:aliases
66
{:test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": 1,
33
"status": "fail",
4-
"message": "Testing example-all-fail-test\nTesting example-all-fail-test\n\n\nERROR in (year-not-divisible-by-4) (:13:9)\nERROR in (year-not-divisible-by-4) (:13:9)\nexpected: (not (example-all-fail/leap-year? 2999))\nexpected: (not (example-all-fail/leap-year? 2999))\n actual: #object[Error Error: Cannot call false as a function.]\n actual: #object[Error Error: Cannot call false as a function.]\n\n\nERROR in (year-divisible-by-2-but-not-4) (:17:9)\nERROR in (year-divisible-by-2-but-not-4) (:17:9)\nexpected: (not (example-all-fail/leap-year? 1658))\nexpected: (not (example-all-fail/leap-year? 1658))\n actual: #object[Error Error: Cannot call false as a function.]\n actual: #object[Error Error: Cannot call false as a function.]\n\n\nERROR in (year-divisible-by-4-but-not-100) (:21:9)\nERROR in (year-divisible-by-4-but-not-100) (:21:9)\nexpected: (example-all-fail/leap-year? 2004)\nexpected: (example-all-fail/leap-year? 2004)\n actual: #object[Error Error: Cannot call true as a function.]\n actual: #object[Error Error: Cannot call true as a function.]\n\n\nERROR in (year-divisible-by-4-and-5) (:25:9)\nERROR in (year-divisible-by-4-and-5) (:25:9)\nexpected: (example-all-fail/leap-year? 2020)\nexpected: (example-all-fail/leap-year? 2020)\n actual: #object[Error Error: Cannot call true as a function.]\n actual: #object[Error Error: Cannot call true as a function.]\n\n\nERROR in (year-divisible-by-100-but-not-400) (:29:9)\nERROR in (year-divisible-by-100-but-not-400) (:29:9)\nexpected: (not (example-all-fail/leap-year? 2200))\nexpected: (not (example-all-fail/leap-year? 2200))\n actual: #object[Error Error: Cannot call false as a function.]\n actual: #object[Error Error: Cannot call false as a function.]\n\n\nERROR in (year-divisible-by-100-but-not-by-3) (:33:9)\nERROR in (year-divisible-by-100-but-not-by-3) (:33:9)\nexpected: (not (example-all-fail/leap-year? 2500))\nexpected: (not (example-all-fail/leap-year? 2500))\n actual: #object[Error Error: Cannot call false as a function.]\n actual: #object[Error Error: Cannot call false as a function.]\n\n\nERROR in (year-divisible-by-400) (:37:9)\nERROR in (year-divisible-by-400) (:37:9)\nexpected: (example-all-fail/leap-year? 2800)\nexpected: (example-all-fail/leap-year? 2800)\n actual: #object[Error Error: Cannot call true as a function.]\n actual: #object[Error Error: Cannot call true as a function.]\n\n\nERROR in (year-divisible-by-400-but-not-125) (:41:9)\nERROR in (year-divisible-by-400-but-not-125) (:41:9)\nexpected: (example-all-fail/leap-year? 3200)\nexpected: (example-all-fail/leap-year? 3200)\n actual: #object[Error Error: Cannot call true as a function.]\n actual: #object[Error Error: Cannot call true as a function.]\n\n\nERROR in (year-divisible-by-200-but-not-by-400) (:45:9)\nERROR in (year-divisible-by-200-but-not-by-400) (:45:9)\nexpected: (not (example-all-fail/leap-year? 2900))\nexpected: (not (example-all-fail/leap-year? 2900))\n actual: #object[Error Error: Cannot call false as a function.]\n actual: #object[Error Error: Cannot call false as a function.]\n\n\nRan 9 tests containing 9 assertions.\nRan 9 tests containing 9 assertions.\n0 failures, 9 errors.\n0 failures, 9 errors."
4+
"message": "Testing example-all-fail-test\nTesting example-all-fail-test\n\n\nERROR in (year-not-divisible-by-4) (:13:9)\nERROR in (year-not-divisible-by-4) (:13:9)\nexpected: (not (example-all-fail/leap-year? 2999))\nexpected: (not (example-all-fail/leap-year? 2999))\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-2-but-not-4) (:17:9)\nERROR in (year-divisible-by-2-but-not-4) (:17:9)\nexpected: (not (example-all-fail/leap-year? 1658))\nexpected: (not (example-all-fail/leap-year? 1658))\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-4-but-not-100) (:21:9)\nERROR in (year-divisible-by-4-but-not-100) (:21:9)\nexpected: (example-all-fail/leap-year? 2004)\nexpected: (example-all-fail/leap-year? 2004)\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-4-and-5) (:25:9)\nERROR in (year-divisible-by-4-and-5) (:25:9)\nexpected: (example-all-fail/leap-year? 2020)\nexpected: (example-all-fail/leap-year? 2020)\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-100-but-not-400) (:29:9)\nERROR in (year-divisible-by-100-but-not-400) (:29:9)\nexpected: (not (example-all-fail/leap-year? 2200))\nexpected: (not (example-all-fail/leap-year? 2200))\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-100-but-not-by-3) (:33:9)\nERROR in (year-divisible-by-100-but-not-by-3) (:33:9)\nexpected: (not (example-all-fail/leap-year? 2500))\nexpected: (not (example-all-fail/leap-year? 2500))\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-400) (:37:9)\nERROR in (year-divisible-by-400) (:37:9)\nexpected: (example-all-fail/leap-year? 2800)\nexpected: (example-all-fail/leap-year? 2800)\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-400-but-not-125) (:41:9)\nERROR in (year-divisible-by-400-but-not-125) (:41:9)\nexpected: (example-all-fail/leap-year? 3200)\nexpected: (example-all-fail/leap-year? 3200)\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nERROR in (year-divisible-by-200-but-not-by-400) (:45:9)\nERROR in (year-divisible-by-200-but-not-by-400) (:45:9)\nexpected: (not (example-all-fail/leap-year? 2900))\nexpected: (not (example-all-fail/leap-year? 2900))\n actual: #object[TypeError TypeError: ea.call is not a function]\n actual: #object[TypeError TypeError: ea.call is not a function]\n\n\nRan 9 tests containing 9 assertions.\nRan 9 tests containing 9 assertions.\n0 failures, 9 errors.\n0 failures, 9 errors."
55
}

tests/example-empty-file/deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}}
44

55
:aliases
66
{:test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": 1,
33
"status": "fail",
4-
"message": "Message: Could not find namespace: example-empty-file\nMessage: Could not find namespace: example-empty-file"
4+
"message": "Message: Could not find namespace: example-empty-file\nMessage: Could not find namespace: example-empty-file\nCould not find namespace: example-empty-file\nCould not find namespace: example-empty-file"
55
}

tests/example-partial-fail/deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}}
44

55
:aliases
66
{:test

tests/example-success/deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}}
44

55
:aliases
66
{:test

tests/example-syntax-error/deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:deps
2-
{org.clojure/clojure {:mvn/version "1.10.1"}
3-
org.clojure/clojurescript {:mvn/version "1.10.773"}}
2+
{org.clojure/clojure {:mvn/version "1.11.1"}
3+
org.clojure/clojurescript {:mvn/version "1.11.60"}}
44

55
:aliases
66
{:test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": 1,
33
"status": "fail",
4-
"message": "Message: Could not resolve symbol: leap\nMessage: Could not resolve symbol: leap\nLocation: 1:14\nLocation: 1:14\nPhase: analysis"
4+
"message": "Message: EOF while reading, expected ) to match ( at [1,1]\nMessage: EOF while reading, expected ) to match ( at [1,1]\nLocation: 39:226\nLocation: 39:226\nPhase: parse"
55
}

0 commit comments

Comments
 (0)