mirror of
https://github.com/servo/servo.git
synced 2025-06-10 01:23:13 +00:00
Run WPT sync nightly on GitHub Action
This commit is contained in:
parent
de183dfde7
commit
49d94cb08b
5 changed files with 212 additions and 4 deletions
|
@ -535,7 +535,16 @@ class MachCommands(CommandBase):
|
|||
help='The API endpoint for tracking known intermittent failures.')
|
||||
@CommandArgument('--reporter-api', default=None, action='store',
|
||||
help='The API endpoint for reporting tracked intermittent failures.')
|
||||
def filter_intermittents(self, summary, log_filteredsummary, log_intermittents, auth, tracker_api, reporter_api):
|
||||
@CommandArgument('--always-succeed', default=False, action='store_true',
|
||||
help='Always yield exit code of zero')
|
||||
def filter_intermittents(self,
|
||||
summary,
|
||||
log_filteredsummary,
|
||||
log_intermittents,
|
||||
auth,
|
||||
tracker_api,
|
||||
reporter_api,
|
||||
always_succeed):
|
||||
encoded_auth = None
|
||||
if auth:
|
||||
with open(auth, "r") as file:
|
||||
|
@ -602,7 +611,10 @@ class MachCommands(CommandBase):
|
|||
if actual_failures:
|
||||
format(actual_failures, description)
|
||||
|
||||
return bool(actual_failures)
|
||||
if always_succeed:
|
||||
return 0
|
||||
else:
|
||||
return bool(actual_failures)
|
||||
|
||||
@Command('test-android-startup',
|
||||
description='Extremely minimal testing of Servo for Android',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue