Skip to content

Commit

Permalink
Merge pull request #339 from SUSE/typescript_x86_46
Browse files Browse the repository at this point in the history
Skip typescript on non-x86_64 hosts
  • Loading branch information
dirkmueller authored Oct 30, 2023
2 parents 959cbcf + 74d2dbd commit 9f750c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import pytest
from pytest_container import GitRepositoryBuild
from pytest_container.container import ContainerData
from pytest_container.runtime import LOCALHOST

from bci_tester.data import NODEJS_CONTAINERS

Expand All @@ -30,7 +31,9 @@ def test_node_version(auto_container):
GitRepositoryBuild(
repository_url="https://github.com/Microsoft/TypeScript",
build_command="npm ci && npm test",
),
)
if LOCALHOST.system_info.arch in ("x86_64",)
else (),
GitRepositoryBuild(
repository_url="https://github.com/tj/commander.js.git",
build_command="npm ci && npm test && npm run lint",
Expand Down

0 comments on commit 9f750c0

Please sign in to comment.