buildbot: Add retries and error handling to GitHub API requests #54
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: Run tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
- name: Sync dependencies | |
run: uv sync --locked --all-extras --dev | |
- name: Run unit tests | |
run: uv run pytest | |
- name: Check coding style | |
run: uv run black --check . |