Skip to content

Commit c8b8a86

Browse files
authored
Merge pull request #114 from lbr-stack/fix/roboreg-113/tests_oom
Fix tests OOM
2 parents 64728da + d2ac193 commit c8b8a86

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

.github/workflows/tests.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,24 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
env:
13+
PIP_NO_CACHE_DIR: "1"
1214

1315
strategy:
1416
matrix:
1517
python-version: ["3.10", "3.11", "3.12"]
1618
fail-fast: false
1719

1820
steps:
21+
# Free disk space
22+
- name: Free disk space
23+
run: |
24+
sudo rm -rf /usr/share/dotnet
25+
sudo rm -rf /opt/ghc
26+
sudo rm -rf /usr/local/lib/android
27+
sudo rm -rf /usr/local/.ghcup
28+
df -h
29+
1930
# Check out the repository.
2031
- name: Checkout code
2132
uses: actions/checkout@v6
@@ -42,12 +53,15 @@ jobs:
4253
# use-github-cache: false
4354
# use-local-cache: false
4455

45-
# Upgrade pip and install your package (and its dependencies from pyproject.toml).
56+
# Upgrade pip and install build backend
57+
- name: Upgrade pip & install build tools
58+
run: |
59+
python -m pip install --upgrade pip setuptools wheel --no-cache-dir
60+
61+
# Install roboreg (and its dependencies from pyproject.toml).
4662
- name: Install package and dependencies
4763
run: |
48-
python -m pip install --upgrade pip
49-
# This command will build and install your package.
50-
pip install .
64+
pip install . --no-build-isolation --no-cache-dir
5165
5266
# Run tests with pytest.
5367
- name: Run tests

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Roboreg
2+
[![Unit tests](https://github.com/lbr-stack/roboreg/actions/workflows/tests.yaml/badge.svg)](https://github.com/lbr-stack/roboreg/actions/workflows/tests.yaml)
3+
[![PyPI version](https://img.shields.io/pypi/v/roboreg.svg)](https://pypi.org/project/roboreg/)
24
[![License: Apache License 2.0](https://img.shields.io/github/license/lbr-stack/roboreg)](https://github.com/lbr-stack/roboreg?tab=Apache-2.0-1-ov-file)
35
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
46

@@ -12,8 +14,8 @@ Eye-to-hand calibration from RGB-D images using robot mesh as calibration target
1214
<th align="left" width="50%">Registered</th>
1315
</tr>
1416
<tr>
15-
<td align="center"><img src="doc/img//hydra_robust_icp_unregistered.png" alt="Unregistered Mesh and Point Cloud"></td>
16-
<td align="center"><img src="doc/img//hydra_robust_icp_registered.png" alt="Registered Mesh and Point Cloud"></td>
17+
<td align="center"><img src="https://raw.githubusercontent.com/lbr-stack/roboreg/refs/heads/main/doc/img/hydra_robust_icp_unregistered.png" alt="Unregistered Mesh and Point Cloud"></td>
18+
<td align="center"><img src="https://raw.githubusercontent.com/lbr-stack/roboreg/refs/heads/main/doc/img/hydra_robust_icp_registered.png" alt="Registered Mesh and Point Cloud"></td>
1719
</tr>
1820
</table>
1921
</body>

0 commit comments

Comments
 (0)