Skip to content

Commit db7d4a5

Browse files
committed
Add commands to test all package managers for Mac OS
Signed-off-by: Jaekwon Bang <[email protected]>
1 parent 4a1328d commit db7d4a5

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/pull-request.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,24 @@ jobs:
6363
pip install pyinstaller
6464
pip install tox
6565
pip install tox-wheel
66-
pip install fosslight_dependency
66+
pip install fosslight_dependency
67+
sudo npm install -g license-checker
6768
- name: Install Pod
6869
working-directory: ./tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips
6970
run: pod install --clean-install
7071
- name: Make executable file
71-
run: pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks
72+
run: pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "src/fosslight_dependency/third_party/askalono/askalono_macos:third_party/askalono"
7273
- name: Run Test
7374
working-directory: ./dist
74-
run: ./cli -p ../tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o ../tests/result/Cocoapods
75+
run: |
76+
./cli -p ../tests/test_pypi -o ../tests/result/pip
77+
./cli -p ../tests/test_npm1 -o ../tests/result/npm1
78+
./cli -p ../tests/test_npm2 -o ../tests/result/npm2 -m npm
79+
./cli -p ../tests/test_maven1/lombok.maven -o ../tests/result/maven1
80+
./cli -p ../tests/test_maven2 -o ../tests/result/maven2
81+
./cli -p ../tests/test_gradle/jib -o ../tests/result/gradle
82+
./cli -p ../tests/test_pub -o ../tests/result/pub
83+
./cli -p ../tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o ../tests/result/Cocoapods
7584
- name: Run Flake8
7685
run: tox -e run_macos
7786
reuse:

0 commit comments

Comments
 (0)