ci(deps): bump docker/setup-buildx-action from 4.1.0 to 4.2.0 #196
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: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-extras | |
| - name: Run tests | |
| run: | | |
| uv run pytest tests/ --cov=src/ --cov-report=xml || echo "No tests found, skipping..." | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v7 | |
| if: matrix.python-version == '3.13' | |
| with: | |
| files: ./coverage.xml | |
| fail_ci_if_error: false | |
| - name: Run linting | |
| run: | | |
| uv run black --check src/ || echo "Black not configured, skipping..." | |
| uv run isort --check-only src/ || echo "isort not configured, skipping..." | |
| uv run flake8 src/ || echo "flake8 not configured, skipping..." | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Build package | |
| run: | | |
| uv build | |
| - name: Check package | |
| run: | | |
| uv venv | |
| uv pip install twine | |
| uv run twine check dist/* |