Skip to content

Commit 7956693

Browse files
committed
chore: add integration test for find-source command
Signed-off-by: Ben Selwyn-Smith <[email protected]>
1 parent e73235c commit 7956693

File tree

1 file changed

+22
-0
lines changed
  • tests/integration/cases/repo_finder_pypi_find_source

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2025 - 2025, Oracle and/or its affiliates. All rights reserved.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
3+
4+
description: |
5+
Finding the source of a PyPI PURL that is not correctly found by deps.dev and must be sought on the package registry directly.
6+
7+
tags:
8+
- macaron-python-package
9+
10+
steps:
11+
- name: Run macaron analyze
12+
kind: find-source
13+
options:
14+
command_args:
15+
- -purl
16+
- pkg:pypi/[email protected]
17+
- name: Validate the produced report
18+
kind: validate_schema
19+
options:
20+
kind: json_schema
21+
schema: find_source_json_report
22+
result: output/reports/pypi/torch/torch.source.json

0 commit comments

Comments
 (0)