This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Add toolkit-pro as editable #57
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| PYTHONIOENCODING: utf-8 | |
| strategy: | |
| matrix: | |
| os: [windows-latest, macos-latest, ubuntu-latest] | |
| python-version: ['3.9', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| pyproject.toml | |
| - name: Install main | |
| shell: bash | |
| run: | | |
| pip install .[test] | |
| - name: Lint | |
| shell: bash | |
| run: | | |
| make lint | |
| - name: Mypy | |
| shell: bash | |
| run: | | |
| make mypy | |
| - name: Test | |
| shell: bash | |
| run: | | |
| make test | |
| - name: Install from dist | |
| shell: bash | |
| run: | | |
| make build | |
| pip install dist/labelme_toolkit-*.whl |