Skip to content

Commit 2bbbdb9

Browse files
authored
Merge pull request #759 from SUSE/drop-typescript
Drop Typescript build from node tests
2 parents b3166fd + 3d4f02c commit 2bbbdb9

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/test_node.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,8 @@ def test_node_version(auto_container):
3030
pkg.to_pytest_param()
3131
for pkg in (
3232
GitRepositoryBuild(
33-
repository_url="https://github.com/Microsoft/TypeScript",
34-
build_command="npm ci && npm test -- --light --workers=$(($(nproc)<4?$(nproc):4))",
35-
marks=[
36-
pytest.mark.skipif(
37-
LOCALHOST.system_info.arch != "x86_64",
38-
reason="typescript only works reliably on x86_64",
39-
)
40-
],
33+
repository_url="https://github.com/caolan/async",
34+
build_command="npm ci && npm test",
4135
),
4236
GitRepositoryBuild(
4337
repository_url="https://github.com/isaacs/node-glob",
@@ -93,8 +87,8 @@ def test_popular_npm_repos(
9387
9488
* - package
9589
- build command
96-
* - `TypeScript <https://github.com/Microsoft/TypeScript>`_
97-
- :command:`npm ci && npm run build`, this test is excluded on non-x86_64
90+
* - `Async <https://github.com/caolan/async>`_
91+
- :command:`npm ci && npm test`
9892
* - `Glob <https://github.com/isaacs/node-glob>`_
9993
- :command:`npm ci && npm test`
10094
* - `Commander.js <https://github.com/tj/commander.js.git>`_
@@ -107,6 +101,6 @@ def test_popular_npm_repos(
107101
- :command:`npm install && npm run unit`
108102
109103
"""
110-
auto_container_per_test.connection.run_expect(
111-
[0], container_git_clone.test_command
104+
auto_container_per_test.connection.check_output(
105+
container_git_clone.test_command
112106
)

0 commit comments

Comments
 (0)