Make use_random also work as an async decorator, get rid of use_random_async #974
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: astral-sh/setup-uv@v5 | |
| - run: uv sync | |
| - run: uv run ruff format --check src tests examples | |
| - run: uv run ruff check src tests examples | |
| - run: uv run mypy | |
| - run: uv run ty check | |
| - run: uv run pytest | |
| - run: uv run examples/.test_scripts/check-examples.py |