-
Notifications
You must be signed in to change notification settings - Fork 9
42 lines (39 loc) · 1.36 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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/Ruby-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 Ruby-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/ruby_hyperexecute_autosplit_sample.yaml --download-artifacts --download-report