CI: run tox in verbose mode to debug package installation
This commit is contained in:
parent
4baa08c722
commit
34dad6dc2e
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user