Skip to content

Commit

Permalink
ci: skip wasm test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Feb 14, 2025
1 parent 0c3e44e commit 671553c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/built-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Debug
if: ${{ matrix.test == 'unit' && matrix.os == 'windows-latest' && always() }}
shell: bash
run: |
cat "C:\hostedtoolcache\windows\go\1.24.0\x64\lib\wasm\wasm_exec_node.js"
cat "C:\hostedtoolcache\windows\go\1.24.0\x64\lib\wasm\wasm_exec.js"
- name: Upload coverage
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
if: ${{ !cancelled() && matrix.os != 'self-hosted' }}
Expand Down
3 changes: 2 additions & 1 deletion scripts/tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os.path
import sys
import platform
import subprocess
import time
Expand Down Expand Up @@ -116,7 +117,7 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool):
f"-test.gocoverdir={unit_path}"],
600)

if wasm:
if wasm and not sys.platform.startswith('win32'):
run_unit("unit_wasm", build_wasm_env(),
[go,
"test",
Expand Down

0 comments on commit 671553c

Please sign in to comment.