diff --git a/Dockerfile b/Dockerfile index d47cf8f1..3338efe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,11 +27,11 @@ ENV DARTIUM_EXPIRATION_TIME=1577836800 WORKDIR /build/ ADD . /build/ RUN echo "Starting the script sections" && \ - dart --version && \ - pub get && \ - pub run dependency_validator -i coverage,build_runner,build_test,build_web_compilers && \ - echo "Script sections completed" -ARG BUILD_ARTIFACTS_AUDIT=/build/pubspec.lock -ARG BUILD_ARTIFACTS_BUILD=/build/pubspec.lock -ARG BUILD_ARTIFACTS_DART-DEPENDENCIES=/build/pubspec.lock + dart --version + # pub get && \ + # pub run dependency_validator -i coverage,build_runner,build_test,build_web_compilers && \ + # echo "Script sections completed" +# ARG BUILD_ARTIFACTS_AUDIT=/build/pubspec.lock +# ARG BUILD_ARTIFACTS_BUILD=/build/pubspec.lock +# ARG BUILD_ARTIFACTS_DART-DEPENDENCIES=/build/pubspec.lock FROM scratch diff --git a/pubspec.yaml b/pubspec.yaml index fcd268fa..c5f1cee3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,6 +20,12 @@ dev_dependencies: build_test: ">=0.9.4 <=0.11.0" build_web_compilers: ">=0.2.0 <2.0.0" +dependency_overrides: + over_react: + git: + url: git@github.com:Workiva/over_react.git + ref: builder_generate_public_class + transformers: - over_react - test/pub_serve: diff --git a/skynet.yaml b/skynet.yaml new file mode 100644 index 00000000..becc065e --- /dev/null +++ b/skynet.yaml @@ -0,0 +1,21 @@ +name: unit + +description: Runs the unit tests + +contact: The "TBD" slack room. + +# https://github.com/Workiva/skynet-images/tree/dart2-chrome +image: "drydock.workiva.net/workiva/skynet-images:1591215" + +size: large + +timeout: long + +run: + on-pull-request: true + when-branch-name-is: + - master + +scripts: + - pub get + - xvfb-run -s '-screen 0 1024x768x24' pub run dart_dev test -p chrome