mirror of https://github.com/davisking/dlib.git
update how python tests are run on ubuntu and mac
This commit is contained in:
parent
135e6ef06a
commit
c458c4f202
|
@ -30,18 +30,23 @@ jobs:
|
||||||
Ubuntu:
|
Ubuntu:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- uses: actions/setup-python@v4
|
||||||
run: python setup.py build
|
run: |
|
||||||
|
python setup.py build
|
||||||
|
python setup.py install --user
|
||||||
- name: Test
|
- name: Test
|
||||||
run: python setup.py test
|
run: python -m pytest --ignore docs --ignore dlib
|
||||||
|
|
||||||
# we don't run python setup.py test on MacOS because there is some system
|
|
||||||
# issue that prevents it from running at all.
|
|
||||||
MacOS:
|
MacOS:
|
||||||
runs-on: 'macos-latest'
|
runs-on: 'macos-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python setup.py build
|
run: |
|
||||||
|
python setup.py build
|
||||||
|
python setup.py install --user
|
||||||
|
- name: Test
|
||||||
|
run: python -m pytest --ignore docs --ignore dlib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue