Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6e3ebc93
Unverified
Commit
6e3ebc93
authored
Nov 06, 2020
by
Jonah Williams
Committed by
GitHub
Nov 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] only run web shard if requested (#69932)
parent
6fe800ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
test.dart
dev/bots/test.dart
+5
-1
No files found.
dev/bots/test.dart
View file @
6e3ebc93
...
...
@@ -320,7 +320,7 @@ Future<void> _runToolTests() async {
Directory
(
path
.
join
(
toolsPath
,
kTest
))
.
listSync
()
.
map
<
String
>((
FileSystemEntity
entry
)
=>
entry
.
path
)
.
where
((
String
name
)
=>
name
.
endsWith
(
kDotShard
)
&&
!
name
.
contains
(
'web'
)
)
.
where
((
String
name
)
=>
name
.
endsWith
(
kDotShard
))
.
map
<
String
>((
String
name
)
=>
path
.
basenameWithoutExtension
(
name
)),
// The `dynamic` on the next line is because Map.fromIterable isn't generic.
value:
(
dynamic
subshard
)
=>
()
async
{
...
...
@@ -337,6 +337,10 @@ Future<void> _runToolTests() async {
);
},
);
// Prevent web tests from running if not explicitly requested.
if
(
Platform
.
environment
[
CIRRUS_TASK_NAME
]
==
null
)
{
subshards
.
remove
(
'web'
);
}
await
selectSubshard
(
subshards
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment