Improve CI debugging: show pip list and use --tb=short
This commit is contained in:
@@ -44,8 +44,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
pip list
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest -q tests -v
|
run: pytest tests -v --tb=short
|
||||||
|
|
||||||
type-check:
|
type-check:
|
||||||
runs-on: [linux, docker]
|
runs-on: [linux, docker]
|
||||||
|
|||||||
@@ -43,8 +43,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
pip list
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest -q tests -v
|
run: pytest tests -v --tb=short
|
||||||
|
|
||||||
type-check:
|
type-check:
|
||||||
runs-on: [linux, docker]
|
runs-on: [linux, docker]
|
||||||
@@ -59,8 +60,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install mypy
|
pip install -r requirements-dev.txt
|
||||||
pip install -r requirements.txt
|
|
||||||
- name: Run mypy
|
- name: Run mypy
|
||||||
run: mypy app scripts --ignore-missing-imports
|
run: mypy app scripts --ignore-missing-imports
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user