Skip to content

chore(deps): lock file maintenance #1553

chore(deps): lock file maintenance

chore(deps): lock file maintenance #1553

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
typing:
name: Run type checking
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install deps
run: uv sync --all-groups
- name: Run type checker
run: uv run basedpyright
test:
name: Run tests & display coverage
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install deps
run: uv sync --all-groups
- name: Run tests
run: uv run pytest
env:
PY_COLORS: 1
COVERAGE_COMMENT_E2E_GITHUB_TOKEN_USER_1: ${{ secrets.COVERAGE_COMMENT_E2E_GITHUB_TOKEN_USER_1 }}
COVERAGE_COMMENT_E2E_GITHUB_TOKEN_USER_2: ${{ secrets.COVERAGE_COMMENT_E2E_GITHUB_TOKEN_USER_2 }}
COVERAGE_COMMENT_E2E_ACTION_REF: ${{ github.sha }}
COVERAGE_COMMENT_E2E_REPO_SUFFIX: ${{ github.event.number }}
- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@main
with:
GITHUB_TOKEN: ${{ github.token }}
ANNOTATE_MISSING_LINES: true
- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v5
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
with:
name: python-coverage-comment-action
path: python-coverage-comment-action.txt