Skip to content

Implement ego pedestrian sensor functions and testing framework #169

Implement ego pedestrian sensor functions and testing framework

Implement ego pedestrian sensor functions and testing framework #169

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
# clone the source code containing the package version generation script
- name: Checkout source code
uses: actions/checkout@main
with:
submodules: true
# make sure python is set up properly
- name: Install Python (with dependencies)
uses: actions/setup-python@main
with:
python-version: '3.12'
- name: Install ffmpeg for video recording
run: sudo apt-get install ffmpeg
- name: Install pip dependencies
run: |
python -m pip install pip --upgrade
python -m pip install wheel==0.37.1 setuptools==59.6.0
python -m pip install -r ./fast-pysf/requirements.txt
python -m pip install -r ./requirements.txt
- name: Register modules under test
run: |
cd fast-pysf && python -m pip install . && cd ..
python -m pip install .
- name: Run tests
run: python -m pytest tests
- name: Run linter
run: python -m pylint robot_sf