Skip to content

Github Actions

Github Actions #1

Workflow file for this run

name: Github Actions
on:
workflow_dispatch:
inputs:
username:
required: true
description: LT Username
accessKey:
description: LT Access Key
required: true
sampleRepoLink:
description: Link to the HyperExecute sample repo
default: https://github.com/LambdaTest/nunit-selenium-hyperexecute-sample
required: true
jobs:
HyperExecute-Selenium:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Starting CLI testing
id: testng
shell: bash
run: |
echo "STEP 1 ) Downloading sample suite"
git clone ${{ github.event.inputs.sampleRepoLink }}
echo "STEP 2) Download CLI and setting environment variables"
cd nunit-selenium-hyperexecute-sample
curl https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe -o hyperexecute.exe
export LT_USERNAME=${{ github.event.inputs.username }}
export LT_ACCESS_KEY=${{ github.event.inputs.accessKey }}
echo $LT_USERNAME
echo $LT_ACCESS_KEY
./hyperexecute --user $LT_USERNAME --key $LT_ACCESS_KEY --config yaml/win/nunit_hyperexecute_autosplit_sample.yaml --download-artifacts --download-report