Skip to content

testingbot/testingbot-tunnel-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

PR Checks

TestingBot Tunnel GitHub Action

TestingBot Logo

A GitHub action to launch the TestingBot Tunnel. This will download and start the TestingBot Tunnel (Docker Image), allowing you to run tests on the TestingBot browser/device grid.

Example

jobs:
    test:
        runs-on: ubuntu-latest
        name: Action Test
        steps:
            # ...
            - uses: testingbot/testingbot-tunnel-action@v1.1.0
              with:
                  key: ${{ secrets.TB_KEY }}
                  secret: ${{ secrets.TB_SECRET }}
                  tunnelIdentifier: github-action-tunnel
            # ...

Inputs

key:

Required Your TestingBot API Key

secret:

Required Your TestingBot API Secret

auth:

Performs Basic Authentication for specific hosts, only works with HTTP.

debug:

Enables debug messages. Will output request/response headers.

dns:

Use a custom DNS server. For example: 8.8.8.8

doctor:

Perform sanity/health checks to detect possible misconfiguration or problems.

fastFailRegexps:

Specify domains you don't want to proxy, comma separated.

pac:

Proxy autoconfiguration. Should be a http(s) URL

sePort:

The local port your Selenium test should connect to. Default port is 4445

localProxy:

The port to launch the local proxy on (default 8087).

proxy:

Specify an upstream proxy: PROXYHOST:PROXYPORT

proxyCredentials:

Username and password required to access the proxy configured with proxy.

noCache:

Bypass TestingBot Caching Proxy running on the tunnel VM.

noProxy:

Do not start a local proxy (requires user provided proxy server on port 8087).

tunnelIdentifier:

Add an identifier to this tunnel connection. In case of multiple tunnels, specify this identifier in your desired capabilities to use this specific tunnel.

uploadLogFile:

Should this action upload the log file generated by the TestingBot Tunnel as an artifact? Default is true.

retryTimeout:

How long, in seconds, should the Action wait if the tunnel fails to start.

Feature requests and bug reports

Please file feature requests and bug reports as github issues.