Skip to content

Move pyright config to pyproject.toml for CI compatibility #227

Move pyright config to pyproject.toml for CI compatibility

Move pyright config to pyproject.toml for CI compatibility #227

Workflow file for this run

name: Checks and tests
on:
push:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v4
with:
repository: eyepop-ai/eyepop-actions
ref: main
token: ${{ secrets.GH_TOKEN }}
path: .github/eyepop-actions
- uses: ./.github/eyepop-actions/python-lint
with:
python-version: "3.12"
install-dependencies: uv sync --locked --all-extras --dev
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- run: uv sync --locked --all-extras --dev
- run: uv run pytest