mirror of
https://github.com/google/bumble.git
synced 2026-04-16 00:25:31 +00:00
Fix test failures
a. `DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead` Updated call in `bumble/smp.py` b. `ModuleNotFoundError: No module named 'bumble.apps'` Updated imports in `tests/import_test.py` c. Added `pytest-html` for easier viewing of test results Added package in `setup.cfg`, and hook in `tasks.py` d. Updated workflows to use `invoke test` This is a partial fix of #81
This commit is contained in:
6
.github/workflows/python-build-test.yml
vendored
6
.github/workflows/python-build-test.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Get history and tags for SCM versioning to work
|
||||
run: |
|
||||
git fetch --prune --unshallow
|
||||
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
@@ -30,9 +30,9 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install ".[build,test,development,documentation]"
|
||||
- name: Test with pytest
|
||||
- name: Test
|
||||
run: |
|
||||
pytest
|
||||
invoke test
|
||||
- name: Build
|
||||
run: |
|
||||
inv build
|
||||
|
||||
Reference in New Issue
Block a user