From 583a4654643a9b4dda855cfab33bc08e16a1e419 Mon Sep 17 00:00:00 2001 From: Peter Leibiger Date: Tue, 27 Feb 2024 01:02:43 +0100 Subject: [PATCH] Exclude http2_adapter from browser tests --- .github/workflows/tests.yml | 4 ++-- plugins/http2_adapter/test/http2_test.dart | 1 - plugins/http2_adapter/test/pinning_test.dart | 1 - plugins/http2_adapter/test/request_test.dart | 1 - plugins/http2_adapter/test/timeout_test.dart | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5ebe99a7b..d2c48fe7b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,8 +60,8 @@ jobs: - name: '[Verify step] Test Dart packages [VM]' run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "MELOS_ROOT_PATH/scripts/dart_test.sh --platform=vm" - name: '[Verify step] Test Dart packages [Chrome]' - run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "MELOS_ROOT_PATH/scripts/dart_test.sh --platform=chrome" + run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --ignore="http2*" --no-flutter -- "MELOS_ROOT_PATH/scripts/dart_test.sh --platform=chrome" - name: '[Verify step] Test Dart packages [Firefox]' - run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "MELOS_ROOT_PATH/scripts/dart_test.sh --platform=firefox" + run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --ignore="http2*" --no-flutter -- "MELOS_ROOT_PATH/scripts/dart_test.sh --platform=firefox" - name: '[Verify step] Test Flutter packages' run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --flutter -- "flutter test" diff --git a/plugins/http2_adapter/test/http2_test.dart b/plugins/http2_adapter/test/http2_test.dart index 866aa2e5d..a936f962e 100644 --- a/plugins/http2_adapter/test/http2_test.dart +++ b/plugins/http2_adapter/test/http2_test.dart @@ -1,4 +1,3 @@ -@TestOn('vm') import 'package:dio/dio.dart'; import 'package:dio_http2_adapter/dio_http2_adapter.dart'; import 'package:test/test.dart'; diff --git a/plugins/http2_adapter/test/pinning_test.dart b/plugins/http2_adapter/test/pinning_test.dart index b669e5c8e..2843aab16 100644 --- a/plugins/http2_adapter/test/pinning_test.dart +++ b/plugins/http2_adapter/test/pinning_test.dart @@ -1,4 +1,3 @@ -@TestOn('vm') import 'dart:io'; import 'package:crypto/crypto.dart'; diff --git a/plugins/http2_adapter/test/request_test.dart b/plugins/http2_adapter/test/request_test.dart index b1043004b..dd8ab872d 100644 --- a/plugins/http2_adapter/test/request_test.dart +++ b/plugins/http2_adapter/test/request_test.dart @@ -1,4 +1,3 @@ -@TestOn('vm') import 'dart:io'; import 'package:dio/dio.dart'; diff --git a/plugins/http2_adapter/test/timeout_test.dart b/plugins/http2_adapter/test/timeout_test.dart index 3c2a198d3..21ebbfced 100644 --- a/plugins/http2_adapter/test/timeout_test.dart +++ b/plugins/http2_adapter/test/timeout_test.dart @@ -1,4 +1,3 @@ -@TestOn('vm') import 'dart:async'; import 'package:dio/dio.dart';