feat: add ReadTimeoutHandler to handlers in samps module #13
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: samps/test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| - release | |
| - latest | |
| paths-ignore: | |
| - "__pycache__" | |
| - ".pytest_cache" | |
| - ".ruff_cache" | |
| - "docs/**" | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout 🛎 | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Synchronise uv environment | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: Test w/pytest | |
| run: | | |
| uv run --link-mode=copy pytest test |