-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
9dca98b
commit 66775ee
Showing
27 changed files
with
1,283 additions
and
1,622 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Hyperexecute | ||
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/gauravchawhan/mathjs | ||
required: true | ||
jobs: | ||
HyperExecute-Playwright: | ||
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 | ||
shell: bash | ||
run: | | ||
echo "STEP 1 ) Downloading sample suite" | ||
git clone https://github.com/gauravchawhan/mathjs | ||
echo "STEP 2) Download CLI and setting environment variables" | ||
cd mathjs | ||
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 }} | ||
./hyperexecute --user $LT_USERNAME --key $LT_ACCESS_KEY --config hyperexecute.yaml |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -253,5 +253,6 @@ Vistinum <[email protected]> | |
Vas Sudanagunta <[email protected]> | ||
Brooks Smith <[email protected]> | ||
Jmar L. Pineda <[email protected]> | ||
gauravchawhan <[email protected]> | ||
|
||
# Generated by tools/update-authors.js |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
version: 0.1 | ||
runson: win # defines the OS to test on | ||
|
||
concurrency: 1 # number of machines to execute the testcases | ||
autosplit: true | ||
|
||
# pre steps sets up the environment for testing | ||
pre: | ||
- npm install | ||
- npm install karma -g | ||
- npm install -g karma-jasmine | ||
- npm install karma-safari-launcher -g | ||
- npm install karma-webdriver-launcher -g | ||
- npm i karma-mocha -g | ||
- npm i karma-webpack -g | ||
- npm i mocha -g | ||
|
||
|
||
# Smart cache | ||
cacheKey: '{{ checksum "package-lock.json" }}' | ||
cacheDirectories: | ||
- node_modules | ||
|
||
# testDiscovery is used to discover all the test cases in test/unit-tests folder | ||
testDiscovery: | ||
type: raw | ||
mode: dynamic | ||
command: grep -nri 'describe' test/unit-tests -ir --include=*.test.js | sed 's/:.*//' | ||
|
||
# command to execute the test cases | ||
testRunnerCommand: karma start test/browser-test-config/lt_karma.js --spec= $test |
Oops, something went wrong.