CI: run tox in verbose mode to debug package installation

This commit is contained in:
Cosimo Lupo 2022-11-03 12:11:30 +00:00
parent 4baa08c722
commit 34dad6dc2e
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8

View File

@ -9,6 +9,10 @@ on:
permissions: permissions:
contents: read contents: read
env:
# turns off tox's output redirection so we can debug package installation
TOX_OPTIONS: -vv
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -23,7 +27,7 @@ jobs:
- name: Install packages - name: Install packages
run: pip install tox run: pip install tox
- name: Run Tox - name: Run Tox
run: tox -e mypy,package_readme run: tox $TOX_OPTIONS -e mypy,package_readme
test: test:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -46,9 +50,9 @@ jobs:
- name: Install packages - name: Install packages
run: pip install tox coverage run: pip install tox coverage
- name: Run Tox - name: Run Tox
run: tox -e py-cov run: tox $TOX_OPTIONS -e py-cov
- name: Run Tox without lxml - name: Run Tox without lxml
run: tox -e py-cov-nolxml run: tox $TOX_OPTIONS -e py-cov-nolxml
- name: Produce coverage files - name: Produce coverage files
run: | run: |
coverage combine coverage combine
@ -75,7 +79,7 @@ jobs:
- name: Install packages - name: Install packages
run: pip install tox run: pip install tox
- name: Run Tox - name: Run Tox
run: tox -e py-cy-nolxml run: tox $TOX_OPTIONS -e py-cy-nolxml
test-pypy3: test-pypy3:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -89,4 +93,4 @@ jobs:
- name: Install packages - name: Install packages
run: pip install tox run: pip install tox
- name: Run Tox - name: Run Tox
run: tox -e pypy3-nolxml run: tox $TOX_OPTIONS -e pypy3-nolxml