feat(test): improve the go tests #804
This file contains 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: 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 |