chore: Release 20251231 #414
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 checks | |
| on: | |
| push: | |
| branches: [ staging, production, dx ] | |
| pull_request: | |
| branches: [ staging, production ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.8" | |
| cache: 'pip' # caching pip dependencies | |
| - name: Install native dependencies | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y libapt-pkg-dev | |
| sudo snap install --classic astral-uv | |
| - name: Install dependencies | |
| run: | | |
| uv venv | |
| uv pip install '.[dev]' | |
| - name: Type checking using pyright | |
| run: uv run --extra=dev pyright | |
| - name: Lint with Ruff | |
| run: uv run --extra=dev ruff check --config 'output-format="github"' | |
| - name: Run unittests | |
| run: ARCH=amd64 uv run --extra=dev python -m unittest discover ./tests/ |