This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
#---------------------------------------------- | |
# check-out repo and set-up python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FailedStatsMiddleware(object): | |
def __init__(self, stats): | |
self.stats = stats | |
EXCEPTIONS_TO_FAIL = RetryMiddleware.EXCEPTIONS_TO_RETRY | |
def __init__(self, settings): | |
self.failure_http_codes = set(range(400, 600)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.testing.listeners; | |
import org.testng.IInvokedMethod; | |
import org.testng.IInvokedMethodListener; | |
import org.testng.ITestResult; | |
import java.util.Optional; | |
public class MyListener implements IInvokedMethodListener { |