Skip to content

Commit

Permalink
sensor pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanyiLi committed Oct 24, 2023
1 parent 90115e0 commit 0365d4a
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,28 @@ jobs:
cd metadrive/
pytest --cov=./ --cov-config=.coveragerc --cov-report=xml -sv tests/test_export_record_scenario
test_sensor_pipeline:
runs-on: ubuntu-latest
steps:
- uses: openrndr/setup-opengl@v1.1
- run: xvfb-run glxinfo
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Blackbox tests
run: |
pip install cython
pip install numpy
pip install -e .
python -m metadrive.pull_asset
pip install pytest
pip install pytest-cov
pip install ray
cd metadrive/
pytest --cov=./ --cov-config=.coveragerc --cov-report=xml -sv tests/test_sensors
test_ipynb:
runs-on: ubuntu-latest
steps:
Expand All @@ -203,8 +225,6 @@ jobs:
test_ros:
runs-on: ubuntu-22.04
# container:
# image: ubuntu:jammy
steps:
- name: Set up ROS2 humble
uses: ros-tooling/setup-ros@v0.7
Expand Down

0 comments on commit 0365d4a

Please sign in to comment.