@@ -16,22 +16,14 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
16
16
# Fail the build if the version doesn't match what we expected
17
17
RUN google-chrome --version | grep " $EXPECTED_CHROME_VERSION\. "
18
18
19
- # Need to analyze and format since dart_build_image only does it automatically for
20
- # packages that depend on dart_dev
21
- RUN dartanalyzer .
19
+ # TODO: Remove this and instead run it within the github actions CI on the stable channel once SDK lower bound is >=2.9.3
22
20
RUN dartfmt --line-length=120 --dry-run --set-exit-if-changed .
23
21
24
- RUN pub run dependency_validator -i build_runner,build_test,build_web_compilers
25
-
26
- # TODO run tests using dart_unit_test_image in skynet, remove Chrome install
22
+ # TODO: Remove these test runs once SDK lower bound is >=2.9.3
27
23
RUN pub run build_runner test --release -- --preset dart2js --exclude-tags=dart-2-7-dart2js-variadic-issues
28
24
RUN pub run build_runner test -- --preset dartdevc
29
25
30
- RUN dart ./tool/run_consumer_tests.dart --orgName Workiva --repoName over_react --testCmd "pub run dart_dev test -P dartdevc"
31
-
32
-
33
- # We need 2.9.2 to verify the Chrome MemoryInfo workaround: https://github.com/cleandart/react-dart/pull/280,
34
- # and to run the tests that fail in 2.7
26
+ # We need 2.9.2 to verify the Chrome MemoryInfo workaround: https://github.com/cleandart/react-dart/pull/280
35
27
# TODO remove the workaround as well as this config once SDK lower bound is >=2.9.3
36
28
FROM google/dart:2.9.2
37
29
RUN dart --version
@@ -74,10 +66,9 @@ WORKDIR /build/
74
66
ADD . /build/
75
67
76
68
RUN pub get
77
- # Run dart2js tests that fail in 2.7
78
- RUN pub run build_runner test --release -- --preset dart2js --tags=dart-2-7-dart2js-variadic-issues
79
69
# Run DDC tests to verify Chrome workaround
80
70
RUN pub run build_runner test -- --preset dartdevc
81
-
71
+ # Run dart2js tests that fail in 2.7
72
+ RUN pub run build_runner test --release -- --preset dart2js --tags=dart-2-7-dart2js-variadic-issues
82
73
83
74
FROM scratch
0 commit comments