Skip to content

Commit 49cf422

Browse files
authored
Merge pull request #68 from leggedrobotics/refactor/semantic_layers
Refactor/semantic layers
2 parents ae83cc3 + d6fcd9d commit 49cf422

File tree

136 files changed

+8982
-881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+8982
-881
lines changed

.github/workflows/documentation.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Docs
2+
on: [ push, pull_request, workflow_dispatch ]
3+
jobs:
4+
docs:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-python@v2
9+
- name: Install dependencies
10+
run: |
11+
pip install sphinx sphinx_rtd_theme sphinx-copybutton
12+
- name: Sphinx build
13+
run: |
14+
sphinx-build docs/source docs/_build
15+
- name: Deploy
16+
uses: peaceiris/actions-gh-pages@v3
17+
if: ${{ github.event_name == 'push' }}
18+
with:
19+
publish_branch: gh-pages
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
publish_dir: docs/_build/
22+
force_orphan: true

.github/workflows/python-tests.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
3+
name: Python testing
4+
5+
on:
6+
push:
7+
branches: [ "feature/2_semantic_python", "feature/**","dev/**" ]
8+
# pull_request:
9+
# branches: [ "main" ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
17+
# runs-on: ubuntu-latest
18+
runs-on: [ self-hosted, Linux, X64 ]
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Python 3.8
23+
uses: actions/setup-python@v3
24+
with:
25+
python-version: "3.8"
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install pytest cupy-cuda11x
30+
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
31+
pip install torch torchvision torchaudio
32+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
- name: Test elevation mapping with pytest
34+
run: |
35+
cd elevation_mapping_cupy/script/elevation_mapping_cupy/tests/
36+
pytest
37+
- name: Test semantic_sensor with pytest
38+
run: |
39+
cd sensor_processing/semantic_sensor/script/semantic_sensor/tests
40+
pytest test_utils.py

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
*.pyc
22
*.bkp
33
*.orig
4+
.idea*
5+
.pytest_cache
6+
.run/
7+
docs/build
8+
_build
9+
.idea*
10+
.vscode*
11+
*.egg-info

0 commit comments

Comments
 (0)