Skip to content

feat(test): improve the go tests #804

feat(test): improve the go tests

feat(test): improve the go tests #804

name: Test Python Examples
on:
pull_request:
branches:
- main
jobs:
test:
name: Test Python Examples
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./examples/developer-hub-python
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
version: "0.4.7"
- name: Set up python
run: uv python install
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Format with ruff
run: uv run ruff format --diff
- name: Lint with ruff
run: uv run ruff check --diff
- name: Run tests
run: uv run pytest -v