Unverified Commit 9d117094 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1751 from hypothesis/build-css-for-ci

Build CSS bundles before running Karma
parents b81687f7 47b645b9
...@@ -397,8 +397,16 @@ function runKarma({ singleRun }, done) { ...@@ -397,8 +397,16 @@ function runKarma({ singleRun }, done) {
).start(); ).start();
} }
gulp.task('test', done => runKarma({ singleRun: true }, done)); // Unit and integration testing tasks.
gulp.task('test-watch', done => runKarma({ singleRun: false }, done)); // Some (eg. a11y) tests rely on CSS bundles, so build these first.
gulp.task(
'test',
gulp.series('build-css', done => runKarma({ singleRun: true }, done))
);
gulp.task(
'test-watch',
gulp.series('build-css', done => runKarma({ singleRun: false }, done))
);
gulp.task( gulp.task(
'upload-sourcemaps', 'upload-sourcemaps',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment