Draft: Add source change needed by running CoC auto-labeling pipeline (review only, do not merge) #49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: python:3.8-slim | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install prerequisites (for OpenCV) | |
| run: apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| - name: Install trajdata base version | |
| run: python -m pip install . | |
| - name: Run tests | |
| run: python -m unittest tests/test_state.py |