Skip to content

Bump scikit-image from 0.22.0 to 0.24.0 #465

Bump scikit-image from 0.22.0 to 0.24.0

Bump scikit-image from 0.22.0 to 0.24.0 #465

Workflow file for this run

name: Tests with poetry + Coverage
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install EGL mesa - required for Panda3D renderer
run: sudo apt-get update && sudo apt-get install -qqy libegl1-mesa libegl1-mesa-dev
- name: Setup poetry
run: pipx install poetry
- name: Caching of the happypose installation and data
uses: actions/cache@v4
with:
path: local_data
key: data
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install happypose
run: poetry install --with dev -E pypi -E multiview
- name: Download pre-trained models required for tests
run: |
mkdir -p local_data
poetry run python -m happypose.toolbox.utils.download \
--megapose_models \
--examples \
barbecue-sauce \
--cosypose_models \
detector-bop-hope-pbr--15246 \
coarse-bop-hope-pbr--225203 \
refiner-bop-hope-pbr--955392
- name: Run tests
run: |
poetry run coverage run --source=happypose -m unittest
poetry run coverage run --source=happypose -m pytest tests -v
- name: Process coverage
run: poetry run coverage xml
#- uses: codecov/codecov-action@v4
#env:
#CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}