Skip to content

Commit

Permalink
Merge pull request #9 from leggedrobotics/documentation
Browse files Browse the repository at this point in the history
Integrated latest changes before integegrating image projection
  • Loading branch information
JonasFrey96 authored Nov 19, 2022
2 parents 8635861 + f62852e commit 8b2883d
Show file tree
Hide file tree
Showing 69 changed files with 3,305 additions and 1,001 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docs
on: [push, pull_request, workflow_dispatch]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme sphinx-copybutton
- name: Sphinx build
run: |
sphinx-build docs/source docs/_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true
11 changes: 8 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Python testing

on:
push:
branches: [ "feature/2_semantic_python" ]
branches: [ "feature/2_semantic_python", "feature/**"]
# pull_request:
# branches: [ "main" ]

Expand All @@ -14,7 +14,8 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +28,11 @@ jobs:
python -m pip install --upgrade pip
pip install pytest cupy
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
- name: Test elevation mapping with pytest
run: |
cd elevation_mapping_cupy/script/elevation_mapping_cupy/tests/
pytest
- name: Test semantic_pointcloud with pytest
run: |
cd sensor_processing/semantic_pointcloud/script/semantic_pointcloud/tests
pytest
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
*.bkp
*.orig
.idea*
.pytest_cache
.run/
docs/build
_build
.idea*
.vscode*
*.egg-info
Loading

0 comments on commit 8b2883d

Please sign in to comment.