Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ filterwarnings = ignore::DeprecationWarning
norecursedirs = test_result/*

[testenv:test_run]
deps =
-r{toxinidir}/requirements-dev.txt
wheel = true
commands =
# Test - logging
python tests/test_log.py
Expand All @@ -31,9 +34,7 @@ commands =
# Test - writing excel and csv
python tests/test_excel_and_csv.py
ls test_result/excel_and_csv/
cat test_result/excel_and_csv/FOSSLight-Report_SRC.csv
cat test_result/excel_and_csv/FOSSLight-Report_BIN_TEST.csv
cat test_result/excel_and_csv/FOSSLight-Report_CUSTOM_HEADER_SHEET.csv
cat test_result/excel_and_csv/excel/Test_Excel.xlsx
cat test_result/excel_and_csv/csv/Test_Csv.csv
# Test - downloading source
fosslight_download -s "https://github.com/LGE-OSS/example" -t test_git/
Expand All @@ -47,9 +48,6 @@ commands =
python tests/test_output_format.py
# Test - get spdx licenses
python tests/test_spdx_licenses.py
# Test - convert excel to yaml
python tests/test_convert_to_yaml.py
cat test_result/convert/fosslight-sbom-info.yaml

[testenv:release]
deps =
Expand Down