Optionally install PyObjC if on macOS test env (#2108)

This commit is contained in:
Antonio Cavedoni 2020-11-20 12:58:00 +01:00
parent ae07ce6e55
commit c2cbcc7a06

View File

@ -43,6 +43,9 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install packages - name: Install packages
run: pip install tox coverage run: pip install tox coverage
- name: (Optionally install PyObjC package if on macOS platform)
if: ${{ runner.os == "macOS" }}
run: pip install pyobjc
- name: Run Tox - name: Run Tox
run: tox -e py-cov run: tox -e py-cov
- name: Run Tox without lxml - name: Run Tox without lxml