Repository navigation
fix: Correct the instantiation behavior of a list. #16
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: | |
| - main | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| python-version: "3.10" | |
| - name: Sync dependencies | |
| run: uv sync # This shall install dev dependencies, in which we specified Pytest. | |
| - name: Run type checks | |
| run: uv run mypy . --pretty | |
| - name: Run tests | |
| run: uv run pytest |