0.1.8 #145
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: Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| tests: | |
| name: "Python ${{ matrix.python-version }}" | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| with: | |
| submodules: recursive | |
| - uses: "actions/setup-python@v5" | |
| with: | |
| python-version: "${{ matrix.python-version }}" | |
| allow-prereleases: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: "Run formatter" | |
| run: uv run ruff format --check | |
| - name: "Run linter" | |
| run: uv run ruff check | |
| - name: "Run tests" | |
| run: | | |
| uv pip --directory=tests/httpx install -r requirements.txt | |
| uv run scripts/run_tests.py |