-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the tests for use with wasmer
- Loading branch information
Showing
1 changed file
with
4 additions
and
14 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 |
---|---|---|
|
@@ -34,17 +34,12 @@ jobs: | |
shell: pwsh | ||
run: | | ||
Get-Command wasmer | ||
Get-Command wapm | ||
Get-Command wax | ||
# Verify Wasmer runs | ||
- name: Verify Wasmer runs | ||
run: | | ||
wapm config set registry.url "https://registry.wapm.io" | ||
mkdir test-dir | ||
cd test-dir | ||
wapm install robert/[email protected] | ||
wasmer run -- './wapm_packages/robert/[email protected]/echo.wasm' "${{ env.ECHO_STRING }}" > output.txt | ||
wasmer config set registry.url "https://registry.wasmer.io" | ||
wasmer run robert/[email protected] -- "${{ env.ECHO_STRING }}" > output.txt | ||
grep "${{ env.ECHO_STRING }}" output.txt | ||
test-versions: | ||
|
@@ -72,8 +67,6 @@ jobs: | |
shell: pwsh | ||
run: | | ||
Get-Command wasmer | ||
Get-Command wapm | ||
Get-Command wax | ||
# Verify Wasmer version is correct | ||
- name: Verify Wasmer version is correct | ||
|
@@ -85,9 +78,6 @@ jobs: | |
# Verify Wasmer runs | ||
- name: Verify Wasmer runs | ||
run: | | ||
wapm config set registry.url "https://registry.wapm.io" | ||
mkdir test-dir | ||
cd test-dir | ||
wapm install robert/[email protected] | ||
wasmer run -- './wapm_packages/robert/[email protected]/echo.wasm' "${{ env.ECHO_STRING }}" > output.txt | ||
wasmer config set registry.url "https://registry.wasmer.io" | ||
wasmer run robert/[email protected] -- "${{ env.ECHO_STRING }}" > output.txt | ||
grep "${{ env.ECHO_STRING }}" output.txt |