Skip to content

Commit 8b2883d

Browse files
authored
Merge pull request #9 from leggedrobotics/documentation
Integrated latest changes before integegrating image projection
2 parents 8635861 + f62852e commit 8b2883d

Some content is hidden

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

69 files changed

+3305
-1001
lines changed

Diff for: .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

Diff for: .github/workflows/python-tests.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Python testing
44

55
on:
66
push:
7-
branches: [ "feature/2_semantic_python" ]
7+
branches: [ "feature/2_semantic_python", "feature/**"]
88
# pull_request:
99
# branches: [ "main" ]
1010

@@ -14,7 +14,8 @@ permissions:
1414
jobs:
1515
build:
1616

17-
runs-on: ubuntu-latest
17+
# runs-on: ubuntu-latest
18+
runs-on: [self-hosted, Linux, X64]
1819

1920
steps:
2021
- uses: actions/checkout@v3
@@ -27,7 +28,11 @@ jobs:
2728
python -m pip install --upgrade pip
2829
pip install pytest cupy
2930
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30-
- name: Test with pytest
31+
- name: Test elevation mapping with pytest
3132
run: |
3233
cd elevation_mapping_cupy/script/elevation_mapping_cupy/tests/
34+
pytest
35+
- name: Test semantic_pointcloud with pytest
36+
run: |
37+
cd sensor_processing/semantic_pointcloud/script/semantic_pointcloud/tests
3338
pytest

Diff for: .gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
*.bkp
33
*.orig
44
.idea*
5+
.pytest_cache
6+
.run/
7+
docs/build
8+
_build
9+
.idea*
510
.vscode*
611
*.egg-info

0 commit comments

Comments
 (0)