File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 1717 strategy :
1818 matrix :
1919 python-version : [3.8, 3.11]
20- os : [ubuntu-latest, macos-latest, windows-latest]
20+ os : [ubuntu-latest, windows-latest]
2121 runs-on : ${{ matrix.os }}
2222 steps :
2323 - uses : actions/checkout@v3
3232 - name : Run Tox
3333 run : |
3434 tox -e release
35+ build_macos :
36+ strategy :
37+ matrix :
38+ python-version : [3.8, 3.11]
39+ runs-on : macos-latest
40+ steps :
41+ - uses : actions/checkout@v3
42+ - name : Set up Python ${{ matrix.python-version }}
43+ uses : actions/setup-python@v4
44+ with :
45+ python-version : ${{ matrix.python-version }}
46+ - name : Install dependencies
47+ run : |
48+ brew install openssl
49+ brew install libmagic
50+ brew install postgresql
51+ python -m pip install --upgrade pip
52+ pip install tox
53+ - name : Run Tox
54+ run : |
55+ tox -e release
3556
3657 reuse :
3758 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11pyparsing
2- scancode-toolkit >= 32.2.0
32scanoss
43XlsxWriter
5- fosslight_util >= 2.1.0
4+ fosslight_util >= 2.1.1
65PyYAML
76wheel >= 0.38.1
87intbitset
98fosslight_binary >= 5.0.0
9+ scancode-toolkit == 32.0.* ;sys_platform == "darwin"
10+ scancode-toolkit == 32.2.* ;sys_platform != "darwin"
11+ psycopg2-binary == 2.9.9
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ def test_run():
3939
4040
4141def test_help_command ():
42- success , _ = run_command ("fosslight_source -h" )
43- assert success is True , "Test Release: Help command failed "
42+ success , msg = run_command ("fosslight_source -h" )
43+ assert success is True , f "Test Release: Help command failed : { msg } "
4444
4545
4646def test_scan_command ():
You can’t perform that action at this time.
0 commit comments