Skip to content

feat: add MatchingPolicy #557

feat: add MatchingPolicy

feat: add MatchingPolicy #557

name: test-mock
on:
push:
branches:
- main
- develop
paths-ignore:
- "docs/**"
- "README.md"
pull_request:
paths-ignore:
- "docs/**"
- "README.md"
jobs:
test-mock:
runs-on: ubuntu-20.04
continue-on-error: true
strategy:
matrix:
python-version: ["3.7.11", "3.8", "3.9", "3.10"]
lsim-task:
[test.perception_lsim, test.sensing_lsim, test.perception_lsim2d]
visualization-task: [test.eda]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
: # NOTE: In Python3.7.11, failed to install poetry>=1.6.1
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python -
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
- name: Test perception lsim
run: |
cd perception_eval
poetry run python -m ${{ matrix.lsim-task }} test/sample_data/ --use_tmpdir
poetry run python -m ${{ matrix.visualization-task }} test/sample_data/