Remove obsolete GitHub integration test and add ReadMe upload script … #96
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: Python Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- uses: actions/checkout@v4 | |
# Set up Python environment | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
# Install uv | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
# Set up Python environment with uv | |
- name: Set up Python | |
run: uv python install | |
# Sync dependencies with uv | |
- name: Install dependencies | |
run: uv sync --all-extras --dev | |
# Run tests | |
- name: Run tests | |
run: uv run pytest tests/unit | |
env: | |
PYTHONPATH: ${{ github.workspace }} |