Skip to content

Commit

Permalink
update the tests for use with wasmer
Browse files Browse the repository at this point in the history
  • Loading branch information
ayys committed Feb 7, 2024
1 parent 47a9efd commit ff5f952
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit ff5f952

Please sign in to comment.