Correct package version to 0.0.3 #43
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
| # .github/workflows/python-ci.yml | |
| name: Python CI | |
| on: | |
| push: | |
| branches: [ "main", "dev" ] | |
| pull_request: | |
| branches: [ "main", "dev" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| DATASTORE_EMULATOR_HOST: "localhost:8081" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| - name: Set up Java (required for Datastore emulator) | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: 'Set up Cloud SDK' | |
| uses: 'google-github-actions/setup-gcloud@v2' | |
| with: | |
| install_components: 'beta,cloud-datastore-emulator' | |
| - name: 'Verify gcloud setup' | |
| run: | | |
| gcloud --version | |
| which gcloud | |
| gcloud components list --filter="id:cloud-datastore-emulator" --format="table(id,state.name)" | |
| - name: 'Configure gcloud project' | |
| run: 'gcloud config set project python-datastore-sqlalchemy' | |
| - name: Install dependencies | |
| run: uv sync --locked | |
| - name: Run tests | |
| run: uv run pytest |