@@ -16,22 +16,14 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
1616# Fail the build if the version doesn't match what we expected
1717RUN google-chrome --version | grep " $EXPECTED_CHROME_VERSION\. "
1818
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
2220RUN dartfmt --line-length=120 --dry-run --set-exit-if-changed .
2321
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
2723RUN pub run build_runner test --release -- --preset dart2js --exclude-tags=dart-2-7-dart2js-variadic-issues
2824RUN pub run build_runner test -- --preset dartdevc
2925
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
3527# TODO remove the workaround as well as this config once SDK lower bound is >=2.9.3
3628FROM google/dart:2.9.2
3729RUN dart --version
@@ -74,10 +66,9 @@ WORKDIR /build/
7466ADD . /build/
7567
7668RUN 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
7969# Run DDC tests to verify Chrome workaround
8070RUN 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
8273
8374FROM scratch
0 commit comments