Video Support: Refactor coco insseg helpers #193
Workflow file for this run
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: Run Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| python: ["3.8", "3.10"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: 1.4.2 | |
| - name: Install the package and dependencies | |
| run: | | |
| poetry install | |
| - name: Run tests | |
| run: | | |
| poetry run make all-checks |