Skip to content

Commit aa20ccd

Browse files
committed
Add Pypi test command for Windows
Signed-off-by: Jaekwon Bang <[email protected]>
1 parent 0e70840 commit aa20ccd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: pod install --clean-install
6868
- name: Run Test
6969
run: |
70-
fosslight_dependency -p tests/test_pypi -o tests/result/pip
70+
fosslight_dependency -p tests/test_pypi -o tests/result/pypi
7171
fosslight_dependency -p tests/test_npm1 -o tests/result/npm1
7272
fosslight_dependency -p tests/test_npm2 -o tests/result/npm2 -m npm
7373
fosslight_dependency -p tests/test_maven1/lombok.maven -o tests/result/maven1

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ commands =
3838
# Test for PEP8
3939
pytest -v --flake8
4040
# Test for Pypi
41-
fosslight_dependency -p tests/test_pypi -o tests/result/pip
41+
fosslight_dependency -p tests/test_pypi -o tests/result/pypi
4242
# Test for NPM (without optional command)
4343
fosslight_dependency -p tests/test_npm1 -o tests/result/npm1
4444
# Test for NPM (with optional command)
@@ -60,6 +60,8 @@ commands =
6060
pytest -v --flake8
6161
# Test for making excutable file
6262
pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "src\fosslight_dependency\third_party\askalono\askalono.exe;third_party\askalono"
63+
# Test for Pypi
64+
{toxinidir}\dist\cli.exe -p tests\test_pypi -o tests\result\pypi
6365
# Test for Maven (without optional command)
6466
{toxinidir}\dist\cli.exe -p tests\test_maven1\lombok.maven -o tests\result\maven1
6567
# Test for Maven (with optional command)

0 commit comments

Comments
 (0)