Skip to content

Commit 1664ea1

Browse files
committed
Add Mac OS Test on the github action
Signed-off-by: Jaekwon Bang <[email protected]>
1 parent a0b8e54 commit 1664ea1

File tree

4 files changed

+540
-0
lines changed

4 files changed

+540
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,15 @@ jobs:
2929
tox -e run_ubuntu
3030
build_windows:
3131
runs-on: windows-latest
32+
strategy:
33+
matrix:
34+
python-version: [3.6]
3235
steps:
3336
- uses: actions/checkout@v2
37+
- name: Set up Python ${{ matrix.python-version }}
38+
uses: actions/setup-python@v2
39+
with:
40+
python-version: ${{ matrix.python-version }}
3441
- name: Install dependencies
3542
run: |
3643
python -m pip install --upgrade pip
@@ -39,6 +46,34 @@ jobs:
3946
- name: Run Tox
4047
run: |
4148
tox -e run_windows
49+
build_macos:
50+
runs-on: macos-latest
51+
strategy:
52+
matrix:
53+
python-version: [3.6]
54+
steps:
55+
- uses: actions/checkout@v2
56+
- name: Set up Python ${{ matrix.python-version }}
57+
uses: actions/setup-python@v2
58+
with:
59+
python-version: ${{ matrix.python-version }}
60+
- name: Install dependencies
61+
run: |
62+
python -m pip install --upgrade pip
63+
pip install pyinstaller
64+
pip install tox
65+
pip install tox-wheel
66+
pip install fosslight_dependency
67+
- name: Install Pod
68+
working-directory: ./tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips
69+
run: pod install --clean-install
70+
- name: Make executable file
71+
run: pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks
72+
- name: Run Test
73+
working-directory: ./dist
74+
run: ./cli -p ../tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o ../tests/result/Cocoapods
75+
- name: Run Flake8
76+
run: tox -e run_macos
4277
reuse:
4378
runs-on: ubuntu-latest
4479
steps:

.reuse/dep5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ License: Apache-2.0
6161
Files: tests/test_pypi/*
6262
Copyright: 2021 LG Electronics
6363
License: Apache-2.0
64+
65+
Files: tests/test_cocoapods/cocoapods-tips*
66+
Copyright: 2017 ClintJang
67+
License: MIT

0 commit comments

Comments
 (0)