-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e670b1
commit b735159
Showing
8 changed files
with
112 additions
and
31 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
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
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,25 @@ | ||
# Load arguments as environmental variables | ||
|
||
param ( | ||
[Parameter(Mandatory=$true)] | ||
[string]$Path_to_eim, | ||
|
||
[Parameter(Mandatory=$true)] | ||
[string]$Version | ||
) | ||
|
||
# Save the arguments as environment variables | ||
$env:EIM_FILE_PATH = $Path_to_eim | ||
$env:EIM_VERSION = $Version | ||
|
||
Set-Location -Path "./tests" | ||
|
||
# Expand Node modules folder | ||
Expand-Archive node_modules.zip | ||
|
||
# Install node modules using npm ci | ||
# This can be used if the node modules folder is not packed with the repo | ||
# npm ci | ||
|
||
# Run tests using npm run AllTest | ||
npm run pre-test |
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,13 @@ | ||
#!/bin/bash | ||
|
||
# Save the arguments as environment variables | ||
export EIM_FILE_PATH="$1" | ||
export EIM_VERSION="$2" | ||
|
||
cd tests | ||
|
||
# install node modules | ||
npm ci | ||
|
||
# run tests | ||
npm run pre-test |
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
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
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
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