Skip to content

Commit 6079eb1

Browse files
Add option to disable tracing trait in JavaScriptKit tests
1 parent 89dc0cc commit 6079eb1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
download-url: https://download.swift.org/swift-6.1-release/ubuntu2204/swift-6.1-RELEASE/swift-6.1-RELEASE-ubuntu22.04.tar.gz
1515
wasi-backend: Node
1616
target: "wasm32-unknown-wasi"
17+
env: |
18+
JAVASCRIPTKIT_DISABLE_TRACING_TRAIT=1
1719
- os: ubuntu-24.04
1820
toolchain:
1921
download-url: https://download.swift.org/development/ubuntu2404/swift-DEVELOPMENT-SNAPSHOT-2025-12-01-a/swift-DEVELOPMENT-SNAPSHOT-2025-12-01-a-ubuntu24.04.tar.gz
@@ -36,6 +38,12 @@ jobs:
3638
steps:
3739
- name: Checkout
3840
uses: actions/checkout@v6
41+
- name: Export matrix env
42+
if: ${{ matrix.entry.env != '' && matrix.entry.env != null }}
43+
run: |
44+
cat <<'EOF' >> "$GITHUB_ENV"
45+
${{ matrix.entry.env }}
46+
EOF
3947
- uses: ./.github/actions/install-swift
4048
with:
4149
download-url: ${{ matrix.entry.toolchain.download-url }}

0 commit comments

Comments
 (0)