Update test to use analyzer 0.38.0 (#1062)

* Update test to use analyzer 0.38.0

* Update test_core dep

* Add a dependency override for test_core
diff --git a/pkgs/test/CHANGELOG.md b/pkgs/test/CHANGELOG.md
index b526bdf..e8a7521 100644
--- a/pkgs/test/CHANGELOG.md
+++ b/pkgs/test/CHANGELOG.md
@@ -1,3 +1,6 @@
+## 1.6.7
+* Allow `analyzer` version `0.38.x`.
+
 ## 1.6.6
 
 * Pass `--server-mode` to dart2js instead of `--categories=Server` to fix a
diff --git a/pkgs/test/pubspec.yaml b/pkgs/test/pubspec.yaml
index 2e0e4c5..45c83a3 100644
--- a/pkgs/test/pubspec.yaml
+++ b/pkgs/test/pubspec.yaml
@@ -1,5 +1,5 @@
 name: test
-version: 1.6.6
+version: 1.6.7
 author: Dart Team <misc@dartlang.org>
 description: A full featured library for writing and running Dart tests.
 homepage: https://github.com/dart-lang/test/blob/master/pkgs/test
@@ -8,7 +8,7 @@
   sdk: '>=2.2.0 <3.0.0'
 
 dependencies:
-  analyzer: ">=0.36.0 <0.38.0"
+  analyzer: ">=0.36.0 <0.39.0"
   async: ^2.0.0
   boolean_selector: ^1.0.0
   http_multi_server: ^2.0.0
@@ -32,10 +32,14 @@
   yaml: ^2.0.0
   # Use an exact version until the test_api and test_core package are stable.
   test_api: 0.2.6
-  test_core: 0.2.7
+  test_core: 0.2.8
 
 dev_dependencies:
   fake_async: ^1.0.0
   shelf_test_handler: ^1.0.0
   test_descriptor: ^1.0.0
   test_process: ^1.0.0
+
+dependency_overrides:
+  test_core:
+    path: ../test_core
diff --git a/pkgs/test_core/CHANGELOG.md b/pkgs/test_core/CHANGELOG.md
index 175f888..12c324c 100644
--- a/pkgs/test_core/CHANGELOG.md
+++ b/pkgs/test_core/CHANGELOG.md
@@ -2,6 +2,7 @@
 
 * Depend on `vm_service` instead of `vm_service_lib`.
 * Drop dependency on `pub_semver`.
+* Allow `analyzer` version `0.38.x`.
 
 ## 0.2.7
 
diff --git a/pkgs/test_core/pubspec.yaml b/pkgs/test_core/pubspec.yaml
index 5e40b78..486d842 100644
--- a/pkgs/test_core/pubspec.yaml
+++ b/pkgs/test_core/pubspec.yaml
@@ -1,5 +1,5 @@
 name: test_core
-version: 0.2.8-dev
+version: 0.2.8
 author: Dart Team <misc@dartlang.org>
 description: A basic library for writing tests and running them on the VM.
 homepage: https://github.com/dart-lang/test/blob/master/pkgs/test_core
@@ -8,7 +8,7 @@
   sdk: ">=2.1.0 <3.0.0"
 
 dependencies:
-  analyzer: ">=0.36.0 <0.38.0"
+  analyzer: ">=0.36.0 <0.39.0"
   async: ^2.0.0
   args: ^1.4.0
   boolean_selector: ^1.0.0