Skip to content

Commit 160ca5a

Browse files
committed
Make the tox command simple
1 parent 7cfef2d commit 160ca5a

File tree

1 file changed

+5
-31
lines changed

1 file changed

+5
-31
lines changed

tox.ini

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,7 @@ deps =
2626

2727
commands =
2828
rm -rf test_scan
29-
fosslight_source -p tests/test_files -o test_scan/scan_result.csv -m
30-
cat test_scan/scan_result.csv
31-
32-
fosslight_source -p tests/test_files -o test_scan/scan_result.csv -f csv
33-
cat test_scan/scan_result.csv
34-
35-
fosslight_source -p tests/test_files -o test_scan/scan_result.json -f opossum
36-
cat test_scan/scan_result.json
37-
38-
fosslight_source -p tests/test_files -o test_scan/scan_result.xlsx -f excel
39-
ls test_scan/scan_result.xlsx
40-
41-
fosslight_source -p tests/test_files -j -o test_scan/
42-
ls test_scan/scancode_raw_result.json
43-
ls test_scan/scanoss_fingerprint.wfp
44-
ls test_scan/scanoss_raw_result.json
45-
46-
python tests/cli_test.py
29+
fosslight_source -p tests/test_files -j -m -o test_scan
4730

4831
[testenv:release]
4932
deps =
@@ -52,22 +35,13 @@ deps =
5235
commands =
5336
fosslight_source -h
5437
fosslight_convert -h
55-
fosslight_source -p tests/test_files -o test_scan/scan_result.csv -m
56-
cat test_scan/scan_result.csv
5738

58-
fosslight_source -p tests/test_files -o test_scan/scan_result.csv -f csv
39+
fosslight_source -p tests/test_files -o test_scan/scan_result.csv
5940
cat test_scan/scan_result.csv
6041

61-
fosslight_source -p tests/test_files -o test_scan/scan_result.json -f opossum
62-
cat test_scan/scan_result.json
63-
64-
fosslight_source -p tests/test_files -o test_scan/scan_result.xlsx -f excel
65-
ls test_scan/scan_result.xlsx
42+
fosslight_source -p tests/test_files -m -j -o test_scan2/
43+
ls test_scan2/
6644

67-
fosslight_source -p tests/test_files -j -o test_scan/
68-
ls test_scan/scancode_raw_result.json
69-
ls test_scan/scanoss_fingerprint.wfp
70-
ls test_scan/scanoss_raw_result.json
7145
python tests/cli_test.py
7246
pytest -v --flake8
73-
47+

0 commit comments

Comments
 (0)